diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-04 10:07:41 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-04 10:07:41 +0000 |
commit | b825198e0fd27306f5b8a1df7d5654714345f3d5 (patch) | |
tree | 3eea5b4338d389721625e5d50f75daa689cff3b2 /test/test_helper.rb | |
parent | a6d4cdb25bd2270483746a9af5f4992fbd1fe9a8 (diff) | |
download | redmine-b825198e0fd27306f5b8a1df7d5654714345f3d5.tar.gz redmine-b825198e0fd27306f5b8a1df7d5654714345f3d5.zip |
define constant of escaped "Can't" for tests
git-svn-id: http://svn.redmine.org/redmine/trunk@12793 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 6 |
1 files 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 |