Browse files

Fix tests.

  • Loading branch information...
1 parent cd33f38 commit f9c81e3ad746fd3ca61f9aa2af8403a58b121ee3 @troessner troessner committed May 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_event_being_fired.rb
View
2 test/test_event_being_fired.rb
@@ -10,7 +10,7 @@ class AnotherDummy; end
exception = assert_raise Transitions::InvalidTransition do
event.fire(obj)
end
- assert_match /No transitions present for `TestEventBeingFired::AnotherDummy` with current state `running`/, exception.message
+ assert_match /Cannot transition to default from running for `TestEventBeingFired::AnotherDummy/, exception.message
end
test "should return the state of the first matching transition it finds" do

0 comments on commit f9c81e3

Please sign in to comment.