Skip to content

Commit bfc055d

Browse files
authored
Merge pull request #807 from aidanharan/fixture-test-windows
Rails 6: Skip binary fixtures test on Windows
2 parents 09878de + 99e711a commit bfc055d

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
@@ -1619,3 +1619,11 @@ class ReaperTest < ActiveRecord::TestCase
16191619
end
16201620
end
16211621
end
1622+
1623+
1624+
1625+
1626+
class FixturesTest < ActiveRecord::TestCase
1627+
# Skip test on Windows. Skip can be removed when Rails PR https://github.com/rails/rails/pull/39234 has been merged.
1628+
coerce_tests! :test_binary_in_fixtures if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
1629+
end

0 commit comments

Comments
 (0)