diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-11 00:07:35 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-11 00:07:35 +0000 |
commit | dbb5341691bf1528a3079e20ea88a521787068ed (patch) | |
tree | 96b3ab78f855a40819e7a3b44d383556ca117f01 /railties/helpers | |
parent | 2594f2abe9144d1a50c8c7404627817ebd0386f0 (diff) | |
download | rails-dbb5341691bf1528a3079e20ea88a521787068ed.tar.gz rails-dbb5341691bf1528a3079e20ea88a521787068ed.tar.bz2 rails-dbb5341691bf1528a3079e20ea88a521787068ed.zip |
Added that rake clone_structure_to_test, db_structure_dump, and purge_test_database tasks now pick up the source database to use from RAILS_ENV instead of just forcing development #424 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/helpers')
-rw-r--r-- | railties/helpers/test_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/helpers/test_helper.rb b/railties/helpers/test_helper.rb index 83f4069ffd..e560caa79d 100644 --- a/railties/helpers/test_helper.rb +++ b/railties/helpers/test_helper.rb @@ -1,4 +1,4 @@ -ENV["RAILS_ENV"] ||= "test" +ENV["RAILS_ENV"] = "test" require File.dirname(__FILE__) + "/../config/environment" require 'application' |