Skip to content

Commit

Permalink
Update casing on Store tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LPGhatguy committed Mar 23, 2018
1 parent 2026a1c commit 6d9a7a9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/Store.spec.lua
Expand Up @@ -79,7 +79,7 @@ return function()
end)
end)

describe("GetState", function()
describe("getState", function()
it("should get the current state", function()
local store = Store.new(function(state, action)
return "foo"
Expand All @@ -93,7 +93,7 @@ return function()
end)
end)

describe("Dispatch", function()
describe("dispatch", function()
it("should be sent through the reducer", function()
local store = Store.new(function(state, action)
state = state or "foo"
Expand All @@ -119,7 +119,7 @@ return function()
store:destruct()
end)

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

Expand Down Expand Up @@ -194,7 +194,7 @@ return function()
store:destruct()
end)

it("should prevent yielding from Changed handler", function()
it("should prevent yielding from changed handler", function()
local preCount = 0
local postCount = 0

Expand Down Expand Up @@ -248,8 +248,8 @@ return function()
end)
end)

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

Expand Down

0 comments on commit 6d9a7a9

Please sign in to comment.