Sha256: 30af047b249f84173beb438a7c90f496991a04f0ebd2a87c90804812c54db280
Contents?: true
Size: 483 Bytes
Versions: 5
Compression:
Stored size: 483 Bytes
Contents
require "spec_helper" describe HTML::Proofer do describe "#failed_tests" do it "is a list of the formatted errors" do brokenLinkInternalFilepath = "#{FIXTURES_DIR}/brokenLinkInternal.html" proofer = HTML::Proofer.new(brokenLinkInternalFilepath) capture_stderr { proofer.run } proofer.failed_tests.should eq(["\e[34mspec/html/proofer/fixtures/brokenLinkInternal.html\e[0m: internally linking to ./notreal.html, which does not exist"]) end end end
Version data entries
5 entries across 5 versions & 1 rubygems