require 'spec_helper' require 'approvals/reporters' require 'approvals/utilities/scrubber' describe Approvals::Reporters::HtmlImageReporter do subject { Approvals::Reporters::HtmlImageReporter.instance } it "creates the template" do scrubber = Approvals::Scrubber.new(subject.html("spec/fixtures/one.png", "spec/fixtures/two.png")) scrubber.to_s.should eq('
received | approved |