##// END OF EJS Templates
use escaped "can't" constant at ProjectsControllerTest...
Toshi MARUYAMA -
r12527:031e4fde63a0
parent child
Show More
@@ -422,7 +422,7 class ProjectsControllerTest < ActionController::TestCase
422 422 post :update, :id => 1, :project => {:name => ''}
423 423 assert_response :success
424 424 assert_template 'settings'
425 assert_error_tag :content => /name can&#x27;t be blank/i
425 assert_error_tag :content => /name #{ESCAPED_CANT} be blank/i
426 426 end
427 427
428 428 def test_update_should_be_denied_for_member_on_closed_project
General Comments 0
You need to be logged in to leave comments. Login now