File tree 1 file changed +0
-26
lines changed
1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -229,18 +229,6 @@ def test_update_date_time_attributes_with_default_timezone_local
229
229
end
230
230
end
231
231
end
232
-
233
- # SQL Server does not have query for release_savepoint
234
- coerce_tests! %r{an empty transaction does not raise if preventing writes}
235
- test "an empty transaction does not raise if preventing writes coerced" do
236
- ActiveRecord ::Base . while_preventing_writes do
237
- assert_queries_count ( 1 , include_schema : true ) do
238
- Bird . transaction do
239
- ActiveRecord ::Base . lease_connection . materialize_transactions
240
- end
241
- end
242
- end
243
- end
244
232
end
245
233
246
234
class BelongsToAssociationsTest < ActiveRecord ::TestCase
@@ -2368,20 +2356,6 @@ def test_preloads_belongs_to_a_composite_primary_key_model_through_id_attribute_
2368
2356
end
2369
2357
end
2370
2358
2371
- class BasePreventWritesTest < ActiveRecord ::TestCase
2372
- # SQL Server does not have query for release_savepoint
2373
- coerce_tests! %r{an empty transaction does not raise if preventing writes}
2374
- test "an empty transaction does not raise if preventing writes coerced" do
2375
- ActiveRecord ::Base . while_preventing_writes do
2376
- assert_queries_count ( 1 , include_schema : true ) do
2377
- Bird . transaction do
2378
- ActiveRecord ::Base . lease_connection . materialize_transactions
2379
- end
2380
- end
2381
- end
2382
- end
2383
- end
2384
-
2385
2359
class MigratorTest < ActiveRecord ::TestCase
2386
2360
# Test fails on Windows AppVeyor CI for unknown reason.
2387
2361
coerce_tests! :test_migrator_db_has_no_schema_migrations_table if RbConfig ::CONFIG [ "host_os" ] =~ /mswin|mingw/
You can’t perform that action at this time.
0 commit comments