diff options
author | Jack Weeden <jack@ajack.org> | 2013-06-26 14:27:49 +0400 |
---|---|---|
committer | Jack Weeden <jack@ajack.org> | 2013-07-01 13:48:01 +0400 |
commit | b62c9e5991dae0e4a8ae8e947b438cdd4e753c79 (patch) | |
tree | 69dc5b3294016b92d6cdc2288ab40e3d118e6602 /spec/routing | |
parent | 6a84d926724d60c208d101525a83ab832ccfcdec (diff) |
Prevent 'toplevel constant SnippetsController referenced by Project::SnippetsController' warning
Diffstat (limited to 'spec/routing')
-rw-r--r-- | spec/routing/project_routing_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/routing/project_routing_spec.rb b/spec/routing/project_routing_spec.rb index a716f13a4cd..0b6528bfc81 100644 --- a/spec/routing/project_routing_spec.rb +++ b/spec/routing/project_routing_spec.rb @@ -262,7 +262,7 @@ end # project_snippet GET /:project_id/snippets/:id(.:format) snippets#show # PUT /:project_id/snippets/:id(.:format) snippets#update # DELETE /:project_id/snippets/:id(.:format) snippets#destroy -describe Projects::SnippetsController, "routing" do +describe SnippetsController, "routing" do it "to #raw" do get("/gitlabhq/snippets/1/raw").should route_to('projects/snippets#raw', project_id: 'gitlabhq', id: '1') end |