diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-04 04:32:37 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-04 04:32:37 +0000 |
commit | 0d4551c2707a381caf1f707a1d2c066dfd7dc58b (patch) | |
tree | e94763d06ef87f3c4e4bf59d863778f22522760a /test/functional/trackers_controller_test.rb | |
parent | c38fa97165817ed1943aa850e222b11c2c93735c (diff) | |
download | redmine-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.rb | 4 |
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'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't be blank/i + assert_error_tag :content => /name #{ESCAPED_CANT} be blank/i end def test_move_lower |