aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/state_machine
diff options
context:
space:
mode:
authorrick <technoweenie@gmail.com>2008-06-28 11:33:50 -0700
committerrick <technoweenie@gmail.com>2008-06-28 11:33:50 -0700
commitc9e366e997c6f3a383cfaa6351fa847e92de7fe4 (patch)
tree1fce341c1b769bd78494bfb6a99a314b57d6a3ed /activemodel/test/state_machine
parenta9d9ca16c739ec39a192d29c62f760e51040fc6e (diff)
downloadrails-c9e366e997c6f3a383cfaa6351fa847e92de7fe4.tar.gz
rails-c9e366e997c6f3a383cfaa6351fa847e92de7fe4.tar.bz2
rails-c9e366e997c6f3a383cfaa6351fa847e92de7fe4.zip
all aasm tests without activerecord moved over and passing
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