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
This commit is contained in:
Toshi MARUYAMA 2011-04-01 00:11:02 +00:00
parent f96d7ce8e0
commit 10f66e425e
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class RolesControllerTest < ActionController::TestCase
def test_destroy_role_in_use def test_destroy_role_in_use
post :destroy, :id => 1 post :destroy, :id => 1
assert_redirected_to '/roles' 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) assert_not_nil Role.find_by_id(1)
end end