Commit 52be4a13 authored by Toshi MARUYAMA's avatar Toshi MARUYAMA Committed by Eric Davis

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
parent 6ac1b6d4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment