summaryrefslogtreecommitdiff
path: root/spec/routing/admin_routing_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-23 21:11:09 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-23 21:11:09 +0300
commitc50ec72b52e9ed7270f7c81c2c71fd8e5a28eeb0 (patch)
tree48c30a44b85b84a4231bff84e51133e7812b55ca /spec/routing/admin_routing_spec.rb
parentab9d02365181df373beffbe7732b36b9b3f7a307 (diff)
downloadgitlab-ce-c50ec72b52e9ed7270f7c81c2c71fd8e5a28eeb0.tar.gz
Deprecate code for Project. Use title and path
Diffstat (limited to 'spec/routing/admin_routing_spec.rb')
-rw-r--r--spec/routing/admin_routing_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/routing/admin_routing_spec.rb b/spec/routing/admin_routing_spec.rb
index 60261c7ae71..fb26bf98d0f 100644
--- a/spec/routing/admin_routing_spec.rb
+++ b/spec/routing/admin_routing_spec.rb
@@ -78,14 +78,6 @@ describe Admin::ProjectsController, "routing" do
get("/admin/projects").should route_to('admin/projects#index')
end
- it "to #create" do
- post("/admin/projects").should route_to('admin/projects#create')
- end
-
- it "to #new" do
- get("/admin/projects/new").should route_to('admin/projects#new')
- end
-
it "to #edit" do
get("/admin/projects/gitlab/edit").should route_to('admin/projects#edit', id: 'gitlab')
end