diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-04-21 10:54:54 -0600 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2016-04-21 10:54:54 -0600 |
commit | 1f47c4b0df01926c2237ac0777547a9d7802adbb (patch) | |
tree | d63d454357fb1e0619c30468a531cc4cec690e0f /Gemfile.lock | |
parent | 81f4a7dce42e4a81f02c4b2d060d92b718b03d5a (diff) | |
download | rails-1f47c4b0df01926c2237ac0777547a9d7802adbb.tar.gz rails-1f47c4b0df01926c2237ac0777547a9d7802adbb.tar.bz2 rails-1f47c4b0df01926c2237ac0777547a9d7802adbb.zip |
Make file update checker tests more resilient on Windows
Without the `wdm` gem, it appears that `listen` keeps an open handle to
each of these files, causing them not to be removed when the tempdir
tries to clean iteslf up, and then directory to fail to unlink. In
addition to fixing that particular failure, we now construct OS agnostic
paths, and capture exceptions if the directory fails to unlink so that
minitest will report it rather than crash
Diffstat (limited to 'Gemfile.lock')
-rw-r--r-- | Gemfile.lock | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index ce854e6183..cb548862dd 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -265,6 +265,7 @@ GEM w3c_validators (1.2) json nokogiri + wdm (0.1.1) websocket-driver (0.6.3) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.2) @@ -323,6 +324,7 @@ DEPENDENCIES tzinfo-data uglifier (>= 1.3.0) w3c_validators + wdm (>= 0.1.0) BUNDLED WITH 1.11.2 |