From: Toshi MARUYAMA Date: Fri, 1 Apr 2011 00:11:02 +0000 (+0000) Subject: Fix annotate functional roles_controller_test.rb due fails to changing en.yml (#8035... X-Git-Tag: 1.2.0~576 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=10f66e425e887cf11a79f5aec539d02ec838462e;p=redmine.git Fix annotate functional roles_controller_test.rb due fails to changing en.yml (#8035, #7855). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5269 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/roles_controller_test.rb b/test/functional/roles_controller_test.rb index 810cafda8..e132f30d9 100644 --- a/test/functional/roles_controller_test.rb +++ b/test/functional/roles_controller_test.rb @@ -114,7 +114,7 @@ class RolesControllerTest < ActionController::TestCase def test_destroy_role_in_use post :destroy, :id => 1 assert_redirected_to '/roles' - assert flash[:error] == 'This role is in use and can not be deleted.' + assert flash[:error] == 'This role is in use and cannot be deleted.' assert_not_nil Role.find_by_id(1) end