Skip to content

Commit 5fbe830

Browse files
committed
Condition test that has issues with AR 2.2.
1 parent dbb2169 commit 5fbe830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cases/adapter_test_sqlserver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def setup
444444
assert @dirty_t2, 'Should have a Task record from within block above.'
445445
assert @dirty_t2.starting, 'Should have a dirty date.'
446446
assert_nil Task.find(@t2.id).starting, 'Should be nil again from botched transaction above.'
447-
end
447+
end unless active_record_2_point_2? # Transactions in tests are a bit screwy in 2.2.
448448

449449
end
450450

0 commit comments

Comments
 (0)