aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-04-24 20:09:39 +0000
committers-ol <s-ol@users.noreply.github.com>2020-04-24 20:09:39 +0000
commitd5e0b45649c755de98b78cbb0488483af2d270db (patch)
treeb6a34bd92dee18274e0ba1e8231f8e795d78a0d2 /spec
parentremove AST:quote() (diff)
downloadalive-d5e0b45649c755de98b78cbb0488483af2d270db.tar.gz
alive-d5e0b45649c755de98b78cbb0488483af2d270db.zip
code readability
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