aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/result_spec.moon8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/result_spec.moon b/spec/result_spec.moon
index c254b42..be60677 100644
--- a/spec/result_spec.moon
+++ b/spec/result_spec.moon
@@ -170,15 +170,15 @@ describe 'Result', ->
assert.spy(s).was_not_called!
- describe ':tick_io', ->
- it 'ticks IOs referenced in side_inputs', ->
+ describe ':poll_io', ->
+ it 'polls IOs referenced in side_inputs', ->
io = DirtyIO!
input = Input.hot io
op = op_with_inputs { input }
result = Result :op
- s = spy.on io, 'tick'
+ s = spy.on io, 'poll'
assert.is.same { [io]: input }, result.side_inputs
- result\tick_io!
+ result\poll_io!
assert.spy(s).was_called_with match.ref io