summaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-04 10:07:41 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-04 10:07:41 +0000
commitb825198e0fd27306f5b8a1df7d5654714345f3d5 (patch)
tree3eea5b4338d389721625e5d50f75daa689cff3b2 /test/test_helper.rb
parenta6d4cdb25bd2270483746a9af5f4992fbd1fe9a8 (diff)
downloadredmine-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.rb6
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&#x27;t'
+ ESCAPED_CANT = 'can&#x27;t'
+ ESCAPED_UCANT = 'Can&#x27;t'
# Rails 4.0.2
- #ESCAPED_CANT = 'can&#39;t'
+ #ESCAPED_CANT = 'can&#39;t'
+ #ESCAPED_UCANT = 'Can&#39;t'
def log_user(login, password)
User.anonymous