From e201b9d45514c310b8194b3f0d9b8d5d711a1216 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 8 Nov 2015 22:12:32 -0800 Subject: 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. --- activesupport/test/file_update_checker_with_enumerable_test_cases.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport') 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) -- cgit v1.2.3