aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/transactions_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/transactions_test.rb b/activerecord/test/cases/transactions_test.rb
index 0d7857c0cf..5b685ca564 100644
--- a/activerecord/test/cases/transactions_test.rb
+++ b/activerecord/test/cases/transactions_test.rb
@@ -688,6 +688,7 @@ class TransactionTest < ActiveRecord::TestCase
raise ActiveRecord::Rollback
end
+ assert_nil topic.id
assert_predicate topic, :new_record?
end