aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2015-11-08 22:12:32 -0800
committerXavier Noria <fxn@hashref.com>2015-11-08 22:49:51 -0800
commite201b9d45514c310b8194b3f0d9b8d5d711a1216 (patch)
treefdbaeeb9d84f0a0775b275f3cbf0701b74b25429 /activesupport
parentdda54de48ccf72caa447b251986c65d032d81bba (diff)
downloadrails-e201b9d45514c310b8194b3f0d9b8d5d711a1216.tar.gz
rails-e201b9d45514c310b8194b3f0d9b8d5d711a1216.tar.bz2
rails-e201b9d45514c310b8194b3f0d9b8d5d711a1216.zip
create the tmpdir under test
Mac OS X tries by all means to hide that /var is /private/var, and that is what FSEvents reports back.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/file_update_checker_with_enumerable_test_cases.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/file_update_checker_with_enumerable_test_cases.rb b/activesupport/test/file_update_checker_with_enumerable_test_cases.rb
index 4ae6e8c5e2..342bd9021a 100644
--- a/activesupport/test/file_update_checker_with_enumerable_test_cases.rb
+++ b/activesupport/test/file_update_checker_with_enumerable_test_cases.rb
@@ -13,7 +13,7 @@ module FileUpdateCheckerWithEnumerableTestCases
end
def setup
- @tmpdir = Dir.mktmpdir
+ @tmpdir = Dir.mktmpdir(nil, __dir__)
@files = %w(foo.rb bar.rb baz.rb).map {|f| "#{@tmpdir}/#{f}"}
FileUtils.touch(@files)