Fix reporter specs for command methods

This commit is contained in:
Markus Schirp 2015-05-02 23:18:01 +00:00
parent edaf3ea8b2
commit 2092be0903

View file

@ -32,7 +32,7 @@ RSpec.describe Mutant::Reporter::CLI do
def self.it_reports(expected_content)
it 'writes expected report to output' do
subject
expect(subject).to be(object)
expect(contents).to eql(strip_indent(expected_content))
end
end