]> 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 04:32:04 +0000 (04:32 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 4 Feb 2014 04:32:04 +0000 (04:32 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12780 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/test_helper.rb

index 1fbea959fefe4966031d4d34fb266f152b527e28..674ac627a9bad84dccf36238c56e9bb729466636 100644 (file)
@@ -32,6 +32,10 @@ class ActiveSupport::TestCase
   self.use_transactional_fixtures = true
   self.use_instantiated_fixtures  = false
 
+  ESCAPED_CANT='can&#x27;t'
+  # Rails 4.0.2
+  #ESCAPED_CANT='can&#39;t'
+
   def log_user(login, password)
     User.anonymous
     get "/login"