##// 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 74 assert_response :success
75 75 assert_template 'new'
76 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 78 end
79 79
80 80 def test_edit
@@ -118,7 +118,7 class AuthSourcesControllerTest < ActionController::TestCase
118 118 :port => '389', :attr_login => 'uid'}
119 119 assert_response :success
120 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 122 end
123 123
124 124 def test_destroy
General Comments 0
You need to be logged in to leave comments. Login now