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:
authorLong Nguyen <long.polyglot@gmail.com>2016-05-05 09:26:36 +0300
committerLong Nguyen <long.polyglot@gmail.com>2016-05-05 09:26:36 +0300
commit8dc19494c3fdae366daa8849b5e2a3f58f98878c (patch)
treed9c4a9b5e83ddc1425a81ee3e8f1a2d4beaf3874 /spec/routing
parentc0f02aad4a1a178109a235d34bd70218c0aec86c (diff)
Remove unused code, update spec, and update changelog
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/routing_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb
index 1527eddfa48..9deffd0a1e3 100644
--- a/spec/routing/routing_spec.rb
+++ b/spec/routing/routing_spec.rb
@@ -27,18 +27,10 @@ end
# PUT /snippets/:id(.:format) snippets#update
# DELETE /snippets/:id(.:format) snippets#destroy
describe SnippetsController, "routing" do
- it "to #user_index" do
- expect(get("/s/User")).to route_to('snippets#index', username: 'User')
- end
-
it "to #raw" do
expect(get("/snippets/1/raw")).to route_to('snippets#raw', id: '1')
end
- it "to #index" do
- expect(get("/snippets")).to route_to('snippets#index')
- end
-
it "to #create" do
expect(post("/snippets")).to route_to('snippets#create')
end