summaryrefslogtreecommitdiffstats
path: root/test/integration/projects_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/projects_test.rb')
-rw-r--r--test/integration/projects_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/projects_test.rb b/test/integration/projects_test.rb
index d5127fd5a..890250c8a 100644
--- a/test/integration/projects_test.rb
+++ b/test/integration/projects_test.rb
@@ -26,7 +26,7 @@ class ProjectsTest < ActionController::IntegrationTest
get "admin/projects"
assert_response :success
assert_template "admin/projects"
- post "projects/archive", :id => 1
+ post "projects/1/archive"
assert_redirected_to "/admin/projects"
assert !Project.find(1).active?
@@ -35,7 +35,7 @@ class ProjectsTest < ActionController::IntegrationTest
get "projects/#{subproject.id}"
assert_response 403
- post "projects/unarchive", :id => 1
+ post "projects/1/unarchive"
assert_redirected_to "/admin/projects"
assert Project.find(1).active?
get "projects/1"