Skip to content

Commit

Permalink
Disable implicit connections in .spec files
Browse files Browse the repository at this point in the history
  • Loading branch information
Reselim committed Oct 8, 2020
1 parent ca1ed85 commit a28896b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/GroupMotor.spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ return function()
local motor = GroupMotor.new({
A = 1,
B = 2
})
}, false)

expect(motor._complete).to.equal(true)

Expand All @@ -34,7 +34,7 @@ return function()
local motor = GroupMotor.new({
A = 1,
B = 2
})
}, false)

local value = motor:getValue()

Expand Down
4 changes: 2 additions & 2 deletions src/SingleMotor.spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ return function()
local Instant = require(script.Parent.Instant)

it("should assign new state on step", function()
local motor = SingleMotor.new(0)
local motor = SingleMotor.new(0, false)

motor:setGoal(Instant.new(5))
motor:step(1/60)
Expand All @@ -13,7 +13,7 @@ return function()
end)

it("should invoke onComplete listeners when the goal is completed", function()
local motor = SingleMotor.new(0)
local motor = SingleMotor.new(0, false)

local didComplete = false
motor:onComplete(function()
Expand Down

0 comments on commit a28896b

Please sign in to comment.