summaryrefslogtreecommitdiffstats
path: root/test/functional/projects_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-01-02 11:42:37 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-01-02 11:42:37 +0000
commit2d9b9362a9cf35a32f7959725c307a36b0ab9a97 (patch)
tree059d59e2e7b3dc114bce7af97b10b5a4ebf54c4f /test/functional/projects_controller_test.rb
parentce8113dea2a73eff5286bfbc31a2042693943471 (diff)
downloadredmine-2d9b9362a9cf35a32f7959725c307a36b0ab9a97.tar.gz
redmine-2d9b9362a9cf35a32f7959725c307a36b0ab9a97.zip
Fixed: should redirect to the new project when copying a project.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4616 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/projects_controller_test.rb')
-rw-r--r--test/functional/projects_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb
index 1e0aaaaa3..aaf6e3085 100644
--- a/test/functional/projects_controller_test.rb
+++ b/test/functional/projects_controller_test.rb
@@ -429,7 +429,7 @@ class ProjectsControllerTest < ActionController::TestCase
@request.session[:user_id] = 1 # admin
post :copy, :id => 1, :project => {:name => 'Copy', :identifier => 'unique-copy'}
assert_response :redirect
- assert_redirected_to :controller => 'projects', :action => 'settings'
+ assert_redirected_to :controller => 'projects', :action => 'settings', :id => 'unique-copy'
end
end