Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngus MacArthur <amacarthur@blackberry.com>2013-03-19 19:37:50 +0400
committerAngus MacArthur <amacarthur@blackberry.com>2013-04-15 09:54:52 +0400
commitae33fdf297e03866ecc6c31c5470dd5ad72d1328 (patch)
tree6b3b8fb315fbc3e0b6ebf6dbb527abe9bcb3d245 /spec/routing
parente996c52636f46b193b5ff7291e9b835c317e5438 (diff)
updated fork feature to use gitlab-shell for v5 of gitlab
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/project_routing_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/routing/project_routing_spec.rb b/spec/routing/project_routing_spec.rb
index 064177f8f21..dd4fb54af69 100644
--- a/spec/routing/project_routing_spec.rb
+++ b/spec/routing/project_routing_spec.rb
@@ -55,6 +55,7 @@ end
# projects POST /projects(.:format) projects#create
# new_project GET /projects/new(.:format) projects#new
+# fork_project POST /:id/fork(.:format) projects#fork
# wall_project GET /:id/wall(.:format) projects#wall
# files_project GET /:id/files(.:format) projects#files
# edit_project GET /:id/edit(.:format) projects#edit
@@ -70,6 +71,10 @@ describe ProjectsController, "routing" do
get("/projects/new").should route_to('projects#new')
end
+ it "to #fork" do
+ post("/gitlabhq/fork").should route_to('projects#fork', id: 'gitlabhq')
+ end
+
it "to #wall" do
get("/gitlabhq/wall").should route_to('walls#show', project_id: 'gitlabhq')
end