remove redundent stubs

This commit is contained in:
Sam 2017-10-18 12:06:47 +11:00
parent 65dc47adb4
commit 1dd2b51059
1 changed files with 0 additions and 2 deletions

View File

@ -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