mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
assert_equal here
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user