require 'spec_helper' require 'approvals/reporters' require 'approvals/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")) expect(scrubber.to_s).to eq('
received | approved |