From 5e94d388b5c28b497314bd2960e63b428880493f 2014-02-04 04:32:04 From: Toshi MARUYAMA Date: 2014-02-04 04:32:04 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 --- diff --git a/test/test_helper.rb b/test/test_helper.rb index 1fbea95..674ac62 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"