Prevent 'toplevel constant SnippetsController referenced by Project::SnippetsController' warning
This commit is contained in:
parent
6a84d92672
commit
b62c9e5991
|
@ -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 Projects::SnippetsController, "routing" do
|
describe 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