Commit b62c9e5991dae0e4a8ae8e947b438cdd4e753c79
1 parent
6a84d926
Exists in
master
and in
4 other branches
Prevent 'toplevel constant SnippetsController referenced by Project::SnippetsController' warning
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/routing/project_routing_spec.rb
... | ... | @@ -262,7 +262,7 @@ end |
262 | 262 | # project_snippet GET /:project_id/snippets/:id(.:format) snippets#show |
263 | 263 | # PUT /:project_id/snippets/:id(.:format) snippets#update |
264 | 264 | # DELETE /:project_id/snippets/:id(.:format) snippets#destroy |
265 | -describe Projects::SnippetsController, "routing" do | |
265 | +describe SnippetsController, "routing" do | |
266 | 266 | it "to #raw" do |
267 | 267 | get("/gitlabhq/snippets/1/raw").should route_to('projects/snippets#raw', project_id: 'gitlabhq', id: '1') |
268 | 268 | end | ... | ... |