aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_throttle_spec.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2017-09-17 13:33:38 -0400
committerWaqas Hussain <waqas20@gmail.com>2017-09-17 13:33:38 -0400
commit8cb654ff632fd09ca39941952bd09e2f5d45cecc (patch)
tree7292c5a2d245cdf80479f58cc0b2e7278dba00cb /spec/util_throttle_spec.lua
parentf093a68045ef12186e66622ab4ad6e265b5b6985 (diff)
downloadprosody-8cb654ff632fd09ca39941952bd09e2f5d45cecc.tar.gz
prosody-8cb654ff632fd09ca39941952bd09e2f5d45cecc.zip
util_throttle_spec: Slight stylistic update for function test group titles
Diffstat (limited to 'spec/util_throttle_spec.lua')
-rw-r--r--spec/util_throttle_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/util_throttle_spec.lua b/spec/util_throttle_spec.lua
index ed4d810b..c63fc70c 100644
--- a/spec/util_throttle_spec.lua
+++ b/spec/util_throttle_spec.lua
@@ -13,7 +13,7 @@ package.loaded["util.time"] = {
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 @@ describe("util.throttle", function()
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);