Skip to content

Commit 2178528

Browse files
committed
Remove unnecessary assert_not_deprecated
1 parent cf63006 commit 2178528

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

activerecord/test/cases/transactions_test.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,7 @@ def test_successful_with_return_outside_inner_transaction
491491
end
492492
end
493493

494-
assert_not_deprecated(ActiveRecord.deprecator) do
495-
transaction_with_shallow_return
496-
end
494+
transaction_with_shallow_return
497495
assert committed
498496

499497
assert_predicate Topic.find(1), :approved?, "First should have been approved"

0 commit comments

Comments
 (0)