Commit 21f33c84 authored by Michael Kozono's avatar Michael Kozono

Merge branch 'ag-remove-extra-expectation' into 'master'

Remove redundant expectation in test

See merge request gitlab-org/gitlab!48884
parents afcd7379 e9bd175c
......@@ -3,7 +3,6 @@
RSpec.shared_examples 'allowlisted /admin/geo requests' do
shared_examples 'allowlisted request' do |request_type, request_url|
it "expects a #{request_type.upcase} request to #{request_url} to be allowed" do
expect(Rails.application.routes).to receive(:recognize_path).and_call_original
response = request.send(request_type, request_url)
expect(response).not_to be_redirect
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment