define constant of escaped "Can't" for tests

git-svn-id: http://svn.redmine.org/redmine/trunk@12793 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-02-04 10:07:41 +00:00
parent a6d4cdb25b
commit b825198e0f
1 changed files with 4 additions and 2 deletions

View File

@ -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