use escaped "can't" constant at AuthSourcesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12801 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
61b5a44b1a
commit
afa18701fd
|
@ -74,7 +74,7 @@ class AuthSourcesControllerTest < ActionController::TestCase
|
||||||
assert_response :success
|
assert_response :success
|
||||||
assert_template 'new'
|
assert_template 'new'
|
||||||
end
|
end
|
||||||
assert_error_tag :content => /host can't be blank/i
|
assert_error_tag :content => /host #{ESCAPED_CANT} be blank/i
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_edit
|
def test_edit
|
||||||
|
@ -118,7 +118,7 @@ class AuthSourcesControllerTest < ActionController::TestCase
|
||||||
:port => '389', :attr_login => 'uid'}
|
:port => '389', :attr_login => 'uid'}
|
||||||
assert_response :success
|
assert_response :success
|
||||||
assert_template 'edit'
|
assert_template 'edit'
|
||||||
assert_error_tag :content => /host can't be blank/i
|
assert_error_tag :content => /host #{ESCAPED_CANT} be blank/i
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_destroy
|
def test_destroy
|
||||||
|
|
Loading…
Reference in New Issue