spec/unit/event/inspect_spec.rb in finite_machine-0.8.1 vs spec/unit/event/inspect_spec.rb in finite_machine-0.9.0

- old
+ new

@@ -10,10 +10,10 @@ subject(:event) { object.new(machine, name: :test) } it "adds multiple transitions" do transition = double(:transition) event << transition - expect(event.inspect).to eq("<#FiniteMachine::Event @name=test, @transitions=[#{transition.inspect}]>") + expect(event.inspect).to eq("<#FiniteMachine::Event @name=test, @silent=false, @transitions=[#{transition.inspect}]>") end it "prints event name" do expect(event.to_s).to eq('test') end