Merge pull request #4412 from senny/fix_bad_constant_reference
fix bad constant reference in `project_routing_spec.rb`.
This commit is contained in:
commit
743c232b16
|
@ -262,7 +262,7 @@ end
|
||||||
# project_snippet GET /:project_id/snippets/:id(.:format) snippets#show
|
# project_snippet GET /:project_id/snippets/:id(.:format) snippets#show
|
||||||
# PUT /:project_id/snippets/:id(.:format) snippets#update
|
# PUT /:project_id/snippets/:id(.:format) snippets#update
|
||||||
# DELETE /:project_id/snippets/:id(.:format) snippets#destroy
|
# DELETE /:project_id/snippets/:id(.:format) snippets#destroy
|
||||||
describe Project::SnippetsController, "routing" do
|
describe Projects::SnippetsController, "routing" do
|
||||||
it "to #raw" do
|
it "to #raw" do
|
||||||
get("/gitlabhq/snippets/1/raw").should route_to('projects/snippets#raw', project_id: 'gitlabhq', id: '1')
|
get("/gitlabhq/snippets/1/raw").should route_to('projects/snippets#raw', project_id: 'gitlabhq', id: '1')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue