From b825198e0fd27306f5b8a1df7d5654714345f3d5 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 4 Feb 2014 10:07:41 +0000 Subject: [PATCH] define constant of escaped "Can't" for tests git-svn-id: http://svn.redmine.org/redmine/trunk@12793 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/test_helper.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index 57ce1613e..79f30e7cd 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -32,9 +32,11 @@ class ActiveSupport::TestCase self.use_transactional_fixtures = true self.use_instantiated_fixtures = false - ESCAPED_CANT = 'can't' + ESCAPED_CANT = 'can't' + ESCAPED_UCANT = 'Can't' # Rails 4.0.2 - #ESCAPED_CANT = 'can't' + #ESCAPED_CANT = 'can't' + #ESCAPED_UCANT = 'Can't' def log_user(login, password) User.anonymous -- 2.39.5