Permalink
Browse files

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
  • Loading branch information...
1 parent a84ea68 commit cd54efa0c937e18fa163d2d40d43e45f25050400 @edavis10 edavis10 committed Jul 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_helper.rb
View
@@ -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')

0 comments on commit cd54efa

Please sign in to comment.