define constant of escaped "can't" for tests

git-svn-id: http://svn.redmine.org/redmine/trunk@12780 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-02-04 04:32:04 +00:00
parent fe7c6057f9
commit 5e94d388b5
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ class ActiveSupport::TestCase
self.use_transactional_fixtures = true self.use_transactional_fixtures = true
self.use_instantiated_fixtures = false self.use_instantiated_fixtures = false
ESCAPED_CANT='can't'
# Rails 4.0.2
#ESCAPED_CANT='can't'
def log_user(login, password) def log_user(login, password)
User.anonymous User.anonymous
get "/login" get "/login"