FIX: Another onebox head request

This commit is contained in:
Robin Ward 2017-05-22 17:00:19 -04:00
parent a8d1e44943
commit d4b16b487e
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ LONG_COOKED
it 'autolinks' do it 'autolinks' do
stub_request(:get, "https://www.eviltrout.com").to_return(body: "") stub_request(:get, "https://www.eviltrout.com").to_return(body: "")
stub_request(:head, "https://www.eviltrout.com").to_return(body: "")
expect(EmailCook.new("https://www.eviltrout.com").cook).to eq("<a href='https://www.eviltrout.com'>https://www.eviltrout.com</a><br>") expect(EmailCook.new("https://www.eviltrout.com").cook).to eq("<a href='https://www.eviltrout.com'>https://www.eviltrout.com</a><br>")
end end