tests/test_dogviz_functionally.rb in dogviz-0.0.12 vs tests/test_dogviz_functionally.rb in dogviz-0.0.13
- old
+ new
@@ -54,24 +54,24 @@
def test_flow_generates_precise_sequence
sys = System.new 'takeaway'
eater = sys.thing 'eater'
server = sys.thing 'server'
- cook = sys.thing 'cook'
+ cook = sys.thing 'chef'
order = sys.flow 'order'
- order.flows eater, 'asks for burger',
+ order.flows eater, 'gimme burger',
server, 'passes order',
cook, server, eater
order.output sequence: outfile('seq.txt')
definition = read_outfile('seq.txt')
assert_equal [
- 'eater -> server: asks for burger',
- 'server -> cook: passes order',
- 'cook -> server:',
+ 'eater -> server: gimme burger',
+ 'server -> chef: passes order',
+ 'chef -> server:',
'server -> eater:',
].join("\n"), definition
end
def test_flow_generates_precise_sequence_with_action
\ No newline at end of file