]> source.dussan.org Git - redmine.git/commitdiff
Fix annotate functional roles_controller_test.rb due fails to changing en.yml (#8035...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 1 Apr 2011 00:11:02 +0000 (00:11 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 1 Apr 2011 00:11:02 +0000 (00:11 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5269 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/roles_controller_test.rb

index 810cafda8ce90a981d01cdc3a20be31ddb50c662..e132f30d970ef67cbbd7d5778f887d1a7df13bd5 100644 (file)
@@ -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