Permalink
Browse files

assert_equal here

  • Loading branch information...
1 parent 6e41cfb commit 8010e4f4765905b2c82bf5963268f07c0721daef @spastorino spastorino committed Aug 16, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/test/cases/transaction_callbacks_test.rb
@@ -272,7 +272,7 @@ def test_after_commit_called
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 @@ def test_after_rollback_called
raise ActiveRecord::Rollback
end
- assert topic.history, [:"TopicWithObserverObserver#after_rollback"]
+ assert_equal topic.history, [:"TopicWithObserverObserver#after_rollback"]
end
end

0 comments on commit 8010e4f

Please sign in to comment.