Skip to content

Commit 6d9a7a9

Browse files
committed
Update casing on Store tests
1 parent 2026a1c commit 6d9a7a9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/Store.spec.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ return function()
7979
end)
8080
end)
8181

82-
describe("GetState", function()
82+
describe("getState", function()
8383
it("should get the current state", function()
8484
local store = Store.new(function(state, action)
8585
return "foo"
@@ -93,7 +93,7 @@ return function()
9393
end)
9494
end)
9595

96-
describe("Dispatch", function()
96+
describe("dispatch", function()
9797
it("should be sent through the reducer", function()
9898
local store = Store.new(function(state, action)
9999
state = state or "foo"
@@ -119,7 +119,7 @@ return function()
119119
store:destruct()
120120
end)
121121

122-
it("should trigger the Changed event after a flush", function()
122+
it("should trigger the changed event after a flush", function()
123123
local store = Store.new(function(state, action)
124124
state = state or 0
125125

@@ -194,7 +194,7 @@ return function()
194194
store:destruct()
195195
end)
196196

197-
it("should prevent yielding from Changed handler", function()
197+
it("should prevent yielding from changed handler", function()
198198
local preCount = 0
199199
local postCount = 0
200200

@@ -248,8 +248,8 @@ return function()
248248
end)
249249
end)
250250

251-
describe("Flush", function()
252-
it("should not fire a Changed event if there were no dispatches", function()
251+
describe("flush", function()
252+
it("should not fire a changed event if there were no dispatches", function()
253253
local store = Store.new(function()
254254
end)
255255

0 commit comments

Comments
 (0)