git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5269 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f96d7ce8e0
commit
10f66e425e
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue