Skip to content
Browse files

Use safe tmp dir

  • Loading branch information...
1 parent 8692b11 commit 7a26c21d8e853ed648e4668843a3958de4ac5791 @josh josh committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 actionpack/test/abstract_unit.rb
  2. 0 actionpack/test/tmp/.gitignore
View
2 actionpack/test/abstract_unit.rb
@@ -6,6 +6,8 @@
$:.unshift(File.dirname(__FILE__) + '/fixtures/helpers')
$:.unshift(File.dirname(__FILE__) + '/fixtures/alternate_helpers')
+ENV['TMPDIR'] = File.join(File.dirname(__FILE__), 'tmp')
+
ENV['new_base'] = "true"
$stderr.puts "Running old tests on new_base"
View
0 actionpack/test/tmp/.gitignore
No changes.

0 comments on commit 7a26c21

Please sign in to comment.
Something went wrong with that request. Please try again.