free_mutant/spec/unit/mutant/reporter/null_spec.rb

22 lines
471 B
Ruby
Raw Normal View History

RSpec.describe Mutant::Reporter::Null do
2014-05-11 10:16:50 -04:00
let(:object) { described_class.new }
describe '#report' do
subject { object.report(double('some input')) }
it_should_behave_like 'a command method'
end
describe '#warn' do
2014-07-05 22:20:44 -04:00
subject { object.warn(double('some input')) }
it_should_behave_like 'a command method'
end
describe '#progress' do
2014-07-05 22:20:44 -04:00
subject { object.progress(double('some input')) }
it_should_behave_like 'a command method'
end
2014-05-11 10:16:50 -04:00
end