diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-06-21 11:38:59 +0300 |
---|---|---|
committer | Francisco Javier López <fjlopez@gitlab.com> | 2018-07-23 19:05:48 +0300 |
commit | 2408519e08084f6d81f2628eba6868910ee7fcfa (patch) | |
tree | d6e20c0e554abd7857319474158382e8442cd4b8 /spec/routing/admin_routing_spec.rb | |
parent | 65f27de7a2415bc50bebdb5f0cc8613fe87f8daf (diff) |
Changing the hook test action to use POST
Diffstat (limited to 'spec/routing/admin_routing_spec.rb')
-rw-r--r-- | spec/routing/admin_routing_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/routing/admin_routing_spec.rb b/spec/routing/admin_routing_spec.rb index 179fc9733ad..98df5f787f7 100644 --- a/spec/routing/admin_routing_spec.rb +++ b/spec/routing/admin_routing_spec.rb @@ -79,7 +79,7 @@ end # edit_admin_hook GET /admin/hooks/:id(.:format) admin/hooks#edit describe Admin::HooksController, "routing" do it "to #test" do - expect(get("/admin/hooks/1/test")).to route_to('admin/hooks#test', id: '1') + expect(post("/admin/hooks/1/test")).to route_to('admin/hooks#test', id: '1') end it "to #index" do |