Clients/Client2018/content/internal/AppShell/Modules/Shell/Actions/GetCrossPlayEnabledFailed.s...

25 lines
690 B
Lua

return function()
it("should return a table", function()
local action = require(script.Parent.GetCrossPlayEnabledFailed)
expect(action).to.be.a("table")
end)
it("should return a table when called as a function", function()
local action = require(script.Parent.GetCrossPlayEnabledFailed)()
expect(action).to.be.a("table")
end)
it("should set the name", function()
local action = require(script.Parent.GetCrossPlayEnabledFailed)
expect(action.name).to.equal("GetCrossPlayEnabledFailed")
end)
it("should set the type", function()
local action = require(script.Parent.GetCrossPlayEnabledFailed)()
expect(action.type).to.equal("GetCrossPlayEnabledFailed")
end)
end