spec/unit/inspect_spec.rb in finite_machine-0.10.2 vs spec/unit/inspect_spec.rb in finite_machine-0.11.0

- old
+ new

@@ -10,8 +10,8 @@ events { event :slow, :green => :yellow event :stop, :yellow => :red } end - expect(fsm.inspect).to match(/^<#FiniteMachine::StateMachine:0x#{fsm.object_id.to_s(16)} @states=\[:none, :green, :yellow, :red\], @events=\[:init, :slow, :stop\], @transitions=.*$/) + expect(fsm.inspect).to match(/^<#FiniteMachine::StateMachine:0x#{fsm.object_id.to_s(16)} @states=\[:none, :green, :yellow, :red\], @events=\[:init, :slow, :stop\], @transitions=\[{:none=>:green}, {:green=>:yellow}, {:yellow=>:red}\]>$/) end end