Skip to content

Commit

Permalink
Fix more issues
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengroat committed May 12, 2017
1 parent 5b390d2 commit d3ad7be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/html-proofer/html_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
it 'ignores namespaces' do
opts = { check_html: true }
ignorable_namespace = "#{FIXTURES_DIR}/html/ignore_namespace.html"
proofer = run_proofer(ignorableNamespace, :file, opts)
proofer = run_proofer(ignorable_namespace, :file, opts)
expect(proofer.failed_tests).to eq []
end
end
2 changes: 1 addition & 1 deletion spec/html-proofer/links_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
it 'fails for broken internal hash (even if the file exists)' do
brokenHashExternalFilepath = "#{FIXTURES_DIR}/links/brokenHashExternal.html"
proofer = run_proofer(brokenHashExternalFilepath, :file)
expect(proofer.failed_tests.last).to match(%r{linking to ../images/missingImageAlt.html#asdfasfdkafl, but asdfasfdkafl does not exist})
expect(proofer.failed_tests.last).to match(%r{linking to ../images/missing_image_alt.html#asdfasfdkafl, but asdfasfdkafl does not exist})
end

it 'fails for broken hashes on the web when asked (even if the file exists)' do
Expand Down

0 comments on commit d3ad7be

Please sign in to comment.