We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25a0db1 commit b77048bCopy full SHA for b77048b
test/cases/temp_test_sqlserver.rb
@@ -25,8 +25,12 @@ class TempTestSQLServer < ActiveRecord::TestCase
25
assert Dog.count, 1
26
assert OtherDog.count, 0
27
28
- assert_nothing_raised do
29
- arunit_connection.execute(sql)
+ Dog.transaction do
+ OtherDog.transaction do
30
+ assert_nothing_raised do
31
+ arunit_connection.execute(sql)
32
+ end
33
34
end
35
36
0 commit comments