2014-08-10 17:04:05 -04:00
|
|
|
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
|
2014-07-03 17:16:12 -04:00
|
|
|
|
|
|
|
describe '#warn' do
|
2014-07-05 22:20:44 -04:00
|
|
|
subject { object.warn(double('some input')) }
|
2014-07-03 17:16:12 -04:00
|
|
|
|
|
|
|
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')) }
|
2014-07-03 17:16:12 -04:00
|
|
|
|
|
|
|
it_should_behave_like 'a command method'
|
|
|
|
end
|
2014-05-11 10:16:50 -04:00
|
|
|
end
|