diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-04 18:14:51 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-04 18:14:51 +0000 |
commit | cd83f72da47f0b6e93a69de04f582c18fca20df8 (patch) | |
tree | bb1f945d795667407388db98044a257aeac5bd80 /test/functional/users_controller_test.rb | |
parent | 260373aed71ede51f4bc46e34283dd66b8be1cd8 (diff) | |
download | redmine-cd83f72da47f0b6e93a69de04f582c18fca20df8.tar.gz redmine-cd83f72da47f0b6e93a69de04f582c18fca20df8.zip |
Slight changes in functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2235 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/users_controller_test.rb')
-rw-r--r-- | test/functional/users_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb index c774c164c..82f3e9ee2 100644 --- a/test/functional/users_controller_test.rb +++ b/test/functional/users_controller_test.rb @@ -60,13 +60,13 @@ class UsersControllerTest < Test::Unit::TestCase def test_edit_membership post :edit_membership, :id => 2, :membership_id => 1, :membership => { :role_id => 2} - assert_redirected_to 'users/edit/2' + assert_redirected_to '/users/edit/2?tab=memberships' assert_equal 2, Member.find(1).role_id end def test_destroy_membership post :destroy_membership, :id => 2, :membership_id => 1 - assert_redirected_to 'users/edit/2' + assert_redirected_to '/users/edit/2?tab=memberships' assert_nil Member.find_by_id(1) end end |