Move this individual spec up with other individual ones.

This commit is contained in:
Todd Eichel 2016-05-27 12:17:52 -07:00
parent 9a23b7f41b
commit b55105813a
No known key found for this signature in database
GPG Key ID: F9BFFDFEC16FD5E9
1 changed files with 10 additions and 10 deletions

View File

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