lib/statesmin/transition_helper.rb in statesmin-1.0.0 vs lib/statesmin/transition_helper.rb in statesmin-1.0.1

- old
+ new

@@ -14,10 +14,10 @@ end RUBY end def transition_to!(next_state, data = {}) - raise_transition_not_defined_error unless respond_to?(:transition) + raise_transition_not_defined_error unless respond_to?(:transition, false) state_machine.transition_to!(next_state, data) do transition(next_state, data) end end