##// END OF EJS Templates
use escaped "can't" constant at AuthSourcesControllerTest...
Toshi MARUYAMA -
r12526:afa18701fdf3
parent child
Show More
@@ -74,7 +74,7 class AuthSourcesControllerTest < ActionController::TestCase
74 assert_response :success
74 assert_response :success
75 assert_template 'new'
75 assert_template 'new'
76 end
76 end
77 assert_error_tag :content => /host can&#x27;t be blank/i
77 assert_error_tag :content => /host #{ESCAPED_CANT} be blank/i
78 end
78 end
79
79
80 def test_edit
80 def test_edit
@@ -118,7 +118,7 class AuthSourcesControllerTest < ActionController::TestCase
118 :port => '389', :attr_login => 'uid'}
118 :port => '389', :attr_login => 'uid'}
119 assert_response :success
119 assert_response :success
120 assert_template 'edit'
120 assert_template 'edit'
121 assert_error_tag :content => /host can&#x27;t be blank/i
121 assert_error_tag :content => /host #{ESCAPED_CANT} be blank/i
122 end
122 end
123
123
124 def test_destroy
124 def test_destroy
General Comments 0
You need to be logged in to leave comments. Login now