summaryrefslogtreecommitdiffstats
path: root/test/integration/issues_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 11:30:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 11:30:57 +0000
commit44ac1a0debc802b2ecbaa7cf7f763b373bf0fbb4 (patch)
tree392f95068f7a93f1ddb921dced7bb34815916382 /test/integration/issues_test.rb
parent1b002983c31f0936b38d56d2f3d8731f724fc5ef (diff)
downloadredmine-44ac1a0debc802b2ecbaa7cf7f763b373bf0fbb4.tar.gz
redmine-44ac1a0debc802b2ecbaa7cf7f763b373bf0fbb4.zip
ProjectsController#add_issue moved to IssuesController#new.
Tracker can now be changed/selected on the new issue form. This action can be invoked without the tracker_id parameter (the first enabled tracker will be used by default). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1080 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/issues_test.rb')
-rw-r--r--test/integration/issues_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/issues_test.rb b/test/integration/issues_test.rb
index a9d3f9c74..81d27c30f 100644
--- a/test/integration/issues_test.rb
+++ b/test/integration/issues_test.rb
@@ -6,11 +6,11 @@ class IssuesTest < ActionController::IntegrationTest
# create an issue
def test_add_issue
log_user('jsmith', 'jsmith')
- get "projects/add_issue/1", :tracker_id => "1"
+ get 'projects/1/issues/new', :tracker_id => '1'
assert_response :success
- assert_template "projects/add_issue"
+ assert_template 'issues/new'
- post "projects/add_issue/1", :tracker_id => "1",
+ post 'projects/1/issues/new', :tracker_id => "1",
:issue => { :start_date => "2006-12-26",
:priority_id => "3",
:subject => "new test issue",