--- a/spec/util_throttle_spec.lua Sun Sep 17 13:29:14 2017 -0400
+++ b/spec/util_throttle_spec.lua Sun Sep 17 13:33:38 2017 -0400
@@ -13,7 +13,7 @@
local throttle = require "util.throttle";
describe("util.throttle", function()
- describe("#create", function()
+ describe("#create()", function()
it("should be created with correct values", function()
now = 5;
local a = throttle.create(3, 10);
@@ -33,7 +33,7 @@
end);
end);
- describe("#update", function()
+ describe("#update()", function()
it("does nothing when no time hase passed, even if balance is not full", function()
now = 5;
local a = throttle.create(10, 10);