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/workflows_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/workflows_controller_test.rb')
-rw-r--r-- | test/functional/workflows_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/workflows_controller_test.rb b/test/functional/workflows_controller_test.rb index 8630f6351..d6078bbb9 100644 --- a/test/functional/workflows_controller_test.rb +++ b/test/functional/workflows_controller_test.rb @@ -68,7 +68,7 @@ class WorkflowsControllerTest < Test::Unit::TestCase def test_post_edit post :edit, :role_id => 2, :tracker_id => 1, :issue_status => {'4' => ['5'], '3' => ['1', '2']} - assert_redirected_to 'workflows/edit' + assert_redirected_to '/workflows/edit?role_id=2&tracker_id=1' assert_equal 3, Workflow.count(:conditions => {:tracker_id => 1, :role_id => 2}) assert_not_nil Workflow.find(:first, :conditions => {:role_id => 2, :tracker_id => 1, :old_status_id => 3, :new_status_id => 2}) |