Skip to content

Commit 11b8cdd

Browse files
authored
Merge pull request #812 from aidanharan/coerce-isolation-test-windows
Rails 6: Coerce ReloadModelsTest test on Windows
2 parents bfc055d + 436fc42 commit 11b8cdd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/cases/coerced_tests.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1627,3 +1627,12 @@ class FixturesTest < ActiveRecord::TestCase
16271627
# Skip test on Windows. Skip can be removed when Rails PR https://github.com/rails/rails/pull/39234 has been merged.
16281628
coerce_tests! :test_binary_in_fixtures if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
16291629
end
1630+
1631+
1632+
1633+
1634+
class ReloadModelsTest < ActiveRecord::TestCase
1635+
# Skip test on Windows. The number of arguements passed to `IO.popen` in
1636+
# `activesupport/lib/active_support/testing/isolation.rb` exceeds what Windows can handle.
1637+
coerce_tests! :test_has_one_with_reload if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
1638+
end

0 commit comments

Comments
 (0)