25 lines
696 B
Lua
25 lines
696 B
Lua
return function()
|
|
it("should return a table", function()
|
|
local action = require(script.Parent.PostCrossPlayEnabledFailed)
|
|
|
|
expect(action).to.be.a("table")
|
|
end)
|
|
|
|
it("should return a table when called as a function", function()
|
|
local action = require(script.Parent.PostCrossPlayEnabledFailed)()
|
|
|
|
expect(action).to.be.a("table")
|
|
end)
|
|
|
|
it("should set the name", function()
|
|
local action = require(script.Parent.PostCrossPlayEnabledFailed)
|
|
|
|
expect(action.name).to.equal("PostCrossPlayEnabledFailed")
|
|
end)
|
|
|
|
it("should set the type", function()
|
|
local action = require(script.Parent.PostCrossPlayEnabledFailed)()
|
|
|
|
expect(action.type).to.equal("PostCrossPlayEnabledFailed")
|
|
end)
|
|
end |