diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-14 16:45:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-11-14 16:45:32 +0000 |
commit | 2fab7bd9b1f16d8e8c352dfe0c13d80ff896ea76 (patch) | |
tree | 498b1dbed91edb965db8a1cb46fc6e310fd2681e /test/functional/groups_controller_test.rb | |
parent | 2ee45e8cac909991ddf782a8d2947ae99473404a (diff) | |
download | redmine-2fab7bd9b1f16d8e8c352dfe0c13d80ff896ea76.tar.gz redmine-2fab7bd9b1f16d8e8c352dfe0c13d80ff896ea76.zip |
Adds leading slash to all assert_redirected_to arguments (#6887).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4407 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/groups_controller_test.rb')
-rw-r--r-- | test/functional/groups_controller_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/groups_controller_test.rb b/test/functional/groups_controller_test.rb index d7bdbb788..d836375a2 100644 --- a/test/functional/groups_controller_test.rb +++ b/test/functional/groups_controller_test.rb @@ -54,7 +54,7 @@ class GroupsControllerTest < ActionController::TestCase assert_difference 'Group.count' do post :create, :group => {:lastname => 'New group'} end - assert_redirected_to 'groups' + assert_redirected_to '/groups' end def test_edit @@ -65,14 +65,14 @@ class GroupsControllerTest < ActionController::TestCase def test_update post :update, :id => 10 - assert_redirected_to 'groups' + assert_redirected_to '/groups' end def test_destroy assert_difference 'Group.count', -1 do post :destroy, :id => 10 end - assert_redirected_to 'groups' + assert_redirected_to '/groups' end def test_add_users |