diff --git a/spec/components/final_destination_spec.rb b/spec/components/final_destination_spec.rb index 6599f38d0d8..93b6f061d26 100644 --- a/spec/components/final_destination_spec.rb +++ b/spec/components/final_destination_spec.rb @@ -318,13 +318,11 @@ describe FinalDestination do .to_return(status: 302, body: "", headers: { location: 'https://wikipedia.com/image.png' }) stub_request(:head, "https://wikipedia.com/image.png") .to_return(status: 200, body: "", headers: []) - stub_request(:get, "https://wikipedia.com/image.png").to_return(status: 200, body: "", headers: {}) fd('http://wikipedia.com/image.png').resolve stub_request(:head, "https://wikipedia.com/image2.png") .to_return(status: 200, body: "", headers: []) - stub_request(:get, "https://wikipedia.com/image2.png").to_return(status: 200, body: "", headers: {}) fd('http://wikipedia.com/image2.png').resolve end