Move this individual spec up with other individual ones.
This commit is contained in:
parent
9a23b7f41b
commit
b55105813a
|
@ -24,6 +24,16 @@ describe Jekyll::SeoTag do
|
|||
expect(output).to match(/Jekyll SEO tag v#{version}/i)
|
||||
end
|
||||
|
||||
it 'outputs valid HTML' do
|
||||
site.process
|
||||
options = {
|
||||
check_html: true,
|
||||
checks_to_ignore: %w(ScriptCheck LinkCheck ImageCheck)
|
||||
}
|
||||
status = HTML::Proofer.new(dest_dir, options).run
|
||||
expect(status).to eql(true)
|
||||
end
|
||||
|
||||
context 'with page.title' do
|
||||
let(:page) { make_page('title' => 'foo') }
|
||||
|
||||
|
@ -433,14 +443,4 @@ EOS
|
|||
expect(output).not_to match(/<title>/)
|
||||
end
|
||||
end
|
||||
|
||||
it 'outputs valid HTML' do
|
||||
site.process
|
||||
options = {
|
||||
check_html: true,
|
||||
checks_to_ignore: %w(ScriptCheck LinkCheck ImageCheck)
|
||||
}
|
||||
status = HTML::Proofer.new(dest_dir, options).run
|
||||
expect(status).to eql(true)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue