aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/isolation
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-06-19 15:41:52 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2012-06-19 15:41:52 -0700
commitc445f0d61fb727abc173d6985075bdf87a3b4ea6 (patch)
treec0501fcfed2b67322fcab61c65eb1866c563c687 /railties/test/isolation
parent056dbf4f114eb20094c578793b4b4ae312e43774 (diff)
downloadrails-c445f0d61fb727abc173d6985075bdf87a3b4ea6.tar.gz
rails-c445f0d61fb727abc173d6985075bdf87a3b4ea6.tar.bz2
rails-c445f0d61fb727abc173d6985075bdf87a3b4ea6.zip
expand the tmpdir to the realpath so tests on OS X pass
Diffstat (limited to 'railties/test/isolation')
-rw-r--r--railties/test/isolation/abstract_unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/isolation/abstract_unit.rb b/railties/test/isolation/abstract_unit.rb
index 50ee68032f..ecaec6b171 100644
--- a/railties/test/isolation/abstract_unit.rb
+++ b/railties/test/isolation/abstract_unit.rb
@@ -30,7 +30,7 @@ module TestHelpers
end
def tmp_path(*args)
- @tmp_path ||= Dir.mktmpdir
+ @tmp_path ||= File.realpath(Dir.mktmpdir)
end
def app_path(*args)