From 8010e4f4765905b2c82bf5963268f07c0721daef Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Mon, 16 Aug 2010 19:09:23 -0300 Subject: assert_equal here --- activerecord/test/cases/transaction_callbacks_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord/test/cases/transaction_callbacks_test.rb') 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 -- cgit v1.2.3