Skip to content

Commit 0cb2732

Browse files
committed
[Rails51] Pass failing test on Windows.
1 parent 73878d5 commit 0cb2732

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/cases/coerced_tests.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,10 @@ module ConnectionAdapters
315315

316316

317317
module ActiveRecord
318+
class DatabaseTasksDumpSchemaCacheTest < ActiveRecord::TestCase
319+
# Skip this test with /tmp/my_schema_cache.yml path on Windows.
320+
coerce_tests! :test_dump_schema_cache if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
321+
end
318322
class DatabaseTasksCreateAllTest < ActiveRecord::TestCase
319323
# We extend `local_database?` so that common VM IPs can be used.
320324
coerce_tests! :test_ignores_remote_databases, :test_warning_for_remote_databases

0 commit comments

Comments
 (0)