aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/transaction_callbacks_test.rb
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-08-16 19:09:23 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2010-08-16 19:09:23 -0300
commit8010e4f4765905b2c82bf5963268f07c0721daef (patch)
tree4e8a4bdfeffb99d70fe4bf483bc7266411846ba7 /activerecord/test/cases/transaction_callbacks_test.rb
parent6e41cfb4e997842dd165b7c8cd2c0f3dc78c6af2 (diff)
downloadrails-8010e4f4765905b2c82bf5963268f07c0721daef.tar.gz
rails-8010e4f4765905b2c82bf5963268f07c0721daef.tar.bz2
rails-8010e4f4765905b2c82bf5963268f07c0721daef.zip
assert_equal here
Diffstat (limited to 'activerecord/test/cases/transaction_callbacks_test.rb')
-rw-r--r--activerecord/test/cases/transaction_callbacks_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/transaction_callbacks_test.rb b/activerecord/test/cases/transaction_callbacks_test.rb
index d72c4bf7c4..cc146f5574 100644
--- a/activerecord/test/cases/transaction_callbacks_test.rb
+++ b/activerecord/test/cases/transaction_callbacks_test.rb
@@ -272,7 +272,7 @@ class TransactionObserverCallbacksTest < ActiveRecord::TestCase
topic = TopicWithObserverAttached.new
topic.save!
- assert topic.history, [:"TopicWithObserverAttachedObserver#after_commit"]
+ assert_equal topic.history, [:"TopicWithObserverAttachedObserver#after_commit"]
end
def test_after_rollback_called
@@ -283,6 +283,6 @@ class TransactionObserverCallbacksTest < ActiveRecord::TestCase
raise ActiveRecord::Rollback
end
- assert topic.history, [:"TopicWithObserverObserver#after_rollback"]
+ assert_equal topic.history, [:"TopicWithObserverObserver#after_rollback"]
end
end