FIX: Another onebox head request
This commit is contained in:
parent
a8d1e44943
commit
d4b16b487e
|
@ -29,6 +29,7 @@ LONG_COOKED
|
|||
|
||||
it 'autolinks' do
|
||||
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>")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue