mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 13:27:40 +02:00
use escaped "can't" constant at TrackersControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12782 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user