Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-06-21 11:38:59 +0300
committerFrancisco Javier López <fjlopez@gitlab.com>2018-07-23 19:05:48 +0300
commit2408519e08084f6d81f2628eba6868910ee7fcfa (patch)
treed6e20c0e554abd7857319474158382e8442cd4b8 /spec/routing/admin_routing_spec.rb
parent65f27de7a2415bc50bebdb5f0cc8613fe87f8daf (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.rb2
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