summaryrefslogtreecommitdiffstats
path: root/test/functional/trackers_controller_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-04 04:32:37 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-04 04:32:37 +0000
commit0d4551c2707a381caf1f707a1d2c066dfd7dc58b (patch)
treee94763d06ef87f3c4e4bf59d863778f22522760a /test/functional/trackers_controller_test.rb
parentc38fa97165817ed1943aa850e222b11c2c93735c (diff)
downloadredmine-0d4551c2707a381caf1f707a1d2c066dfd7dc58b.tar.gz
redmine-0d4551c2707a381caf1f707a1d2c066dfd7dc58b.zip
use escaped "can't" constant at TrackersControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12782 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/trackers_controller_test.rb')
-rw-r--r--test/functional/trackers_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/trackers_controller_test.rb b/test/functional/trackers_controller_test.rb
index bf58e2e20..e5246ce59 100644
--- a/test/functional/trackers_controller_test.rb
+++ b/test/functional/trackers_controller_test.rb
@@ -89,7 +89,7 @@ class TrackersControllerTest < ActionController::TestCase
end
assert_response :success
assert_template 'new'
- assert_error_tag :content => /name can&#x27;t be blank/i
+ assert_error_tag :content => /name #{ESCAPED_CANT} be blank/i
end
def test_edit
@@ -154,7 +154,7 @@ class TrackersControllerTest < ActionController::TestCase
put :update, :id => 1, :tracker => { :name => '' }
assert_response :success
assert_template 'edit'
- assert_error_tag :content => /name can&#x27;t be blank/i
+ assert_error_tag :content => /name #{ESCAPED_CANT} be blank/i
end
def test_move_lower