Commit e9bd175c authored by Aakriti Gupta's avatar Aakriti Gupta

Remove redundant expectation in test

parent aa23cea5
......@@ -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