]> source.dussan.org Git - redmine.git/commitdiff
define constant of escaped "Can't" for tests
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 4 Feb 2014 10:07:41 +0000 (10:07 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 4 Feb 2014 10:07:41 +0000 (10:07 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12793 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/test_helper.rb

index 57ce1613ed997369feb1f446376eae10eb2867ea..79f30e7cd7b52546b385a85a89ca912a6778c237 100644 (file)
@@ -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