]> source.dussan.org Git - redmine.git/commitdiff
Force the test RAILS_ENV to help prevent purging data when mistyping. #4572
authorEric Davis <edavis@littlestreamsoftware.com>
Fri, 9 Jul 2010 13:46:20 +0000 (13:46 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Fri, 9 Jul 2010 13:46:20 +0000 (13:46 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3840 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/test_helper.rb

index 1f735f5f6330496c9f5db8c0873a157e7f9b2078..c934e1bc2d01e2d1bf35f5db58cbc2dfdccc1452 100644 (file)
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
-ENV["RAILS_ENV"] ||= "test"
+ENV["RAILS_ENV"] = "test"
 require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
 require 'test_help'
 require File.expand_path(File.dirname(__FILE__) + '/helper_testcase')