From 99e711a8b4c6243f4a76697fa569ad6904e6ec04 Mon Sep 17 00:00:00 2001 From: Aidan Haran Date: Mon, 11 May 2020 16:04:55 +0100 Subject: [PATCH] Skip binary fixtures test on Windows --- test/cases/coerced_tests.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/cases/coerced_tests.rb b/test/cases/coerced_tests.rb index 884a43b1c..9a82443ca 100644 --- a/test/cases/coerced_tests.rb +++ b/test/cases/coerced_tests.rb @@ -1619,3 +1619,11 @@ class ReaperTest < ActiveRecord::TestCase end end end + + + + +class FixturesTest < ActiveRecord::TestCase + # Skip test on Windows. Skip can be removed when Rails PR https://github.com/rails/rails/pull/39234 has been merged. + coerce_tests! :test_binary_in_fixtures if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ +end