spec/document_spec.rb in metainspector-5.4.0 vs spec/document_spec.rb in metainspector-5.4.1
- old
+ new
@@ -92,10 +92,10 @@
it "should allow non-html content type when explicitly allowed" do
expect do
image_url = MetaInspector::Document.new('http://pagerankalert.com/image.png', allow_non_html_content: true)
image_url.title
- end.to_not raise_error(MetaInspector::ParserError)
+ end.to_not raise_error
end
end
describe 'headers' do
it "should include default headers" do