aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-08-13 21:02:49 -0500
committerJoshua Peek <josh@joshpeek.com>2009-08-13 21:03:25 -0500
commit7a26c21d8e853ed648e4668843a3958de4ac5791 (patch)
treeda900a2656ccac3b4b47f6c493215313b22e6922 /actionpack/test
parent8692b11e81ab2df2e4122c2f47d91e5eaaf508f2 (diff)
downloadrails-7a26c21d8e853ed648e4668843a3958de4ac5791.tar.gz
rails-7a26c21d8e853ed648e4668843a3958de4ac5791.tar.bz2
rails-7a26c21d8e853ed648e4668843a3958de4ac5791.zip
Use safe tmp dir
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/abstract_unit.rb2
-rw-r--r--actionpack/test/tmp/.gitignore0
2 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb
index b062a71442..eb4e2fb585 100644
--- a/actionpack/test/abstract_unit.rb
+++ b/actionpack/test/abstract_unit.rb
@@ -6,6 +6,8 @@ $:.unshift(File.dirname(__FILE__) + '/lib')
$:.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"
diff --git a/actionpack/test/tmp/.gitignore b/actionpack/test/tmp/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/actionpack/test/tmp/.gitignore