From: Eric Davis Date: Fri, 9 Jul 2010 13:46:20 +0000 (+0000) Subject: Force the test RAILS_ENV to help prevent purging data when mistyping. #4572 X-Git-Tag: 1.0.0~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cd54efa0c937e18fa163d2d40d43e45f25050400;p=redmine.git Force the test RAILS_ENV to help prevent purging data when mistyping. #4572 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3840 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/test_helper.rb b/test/test_helper.rb index 1f735f5f6..c934e1bc2 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -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')