util_throttle_spec: Slight stylistic update for function test group titles
authorWaqas Hussain <waqas20@gmail.com>
Sun, 17 Sep 2017 13:33:38 -0400
changeset 8249 ea2667fc6781
parent 8248 9499db96c032
child 8256 3a6f5b0f56f0
util_throttle_spec: Slight stylistic update for function test group titles
spec/util_throttle_spec.lua
--- 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);