From 5e94d388b5c28b497314bd2960e63b428880493f Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 4 Feb 2014 04:32:04 +0000 Subject: [PATCH] define constant of escaped "can't" for tests git-svn-id: http://svn.redmine.org/redmine/trunk@12780 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/test_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_helper.rb b/test/test_helper.rb index 1fbea959f..674ac627a 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -32,6 +32,10 @@ class ActiveSupport::TestCase self.use_transactional_fixtures = true self.use_instantiated_fixtures = false + ESCAPED_CANT='can't' + # Rails 4.0.2 + #ESCAPED_CANT='can't' + def log_user(login, password) User.anonymous get "/login" -- 2.39.5