aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/state_machine
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test/state_machine')
-rw-r--r--activemodel/test/state_machine/event_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/state_machine/event_test.rb b/activemodel/test/state_machine/event_test.rb
index 7db4f8d887..40b630da7c 100644
--- a/activemodel/test/state_machine/event_test.rb
+++ b/activemodel/test/state_machine/event_test.rb
@@ -17,7 +17,7 @@ class EventTest < ActiveModel::TestCase
end
test 'should set the success option' do
- assert new_event.success?
+ assert_equal @success, new_event.success
end
uses_mocha 'StateTransition creation' do