assert_equal here

This commit is contained in:
Santiago Pastorino
2010-08-16 19:09:23 -03:00
parent 6e41cfb4e9
commit 8010e4f476

View File

@@ -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