Skip to content

Commit 107d667

Browse files
committed
Skip binary fixtures test on Windows
1 parent dc1baf7 commit 107d667

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/cases/coerced_tests.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1483,3 +1483,11 @@ def test_has_primary_key_coerced
14831483
original_test_has_primary_key
14841484
end
14851485
end
1486+
1487+
1488+
1489+
1490+
class FixturesTest < ActiveRecord::TestCase
1491+
# Skip test on Windows. Skip can be removed when Rails PR https://github.com/rails/rails/pull/39234 has been merged.
1492+
coerce_tests! :test_binary_in_fixtures if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
1493+
end

0 commit comments

Comments
 (0)