2014-08-10 21:04:05 +00:00
|
|
|
RSpec.describe Mutant::Reporter::Null do
|
2014-05-11 14:16:50 +00: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 21:16:12 +00:00
|
|
|
|
|
|
|
describe '#warn' do
|
2014-07-06 02:20:44 +00:00
|
|
|
subject { object.warn(double('some input')) }
|
2014-07-03 21:16:12 +00:00
|
|
|
|
|
|
|
it_should_behave_like 'a command method'
|
|
|
|
end
|
|
|
|
|
|
|
|
describe '#progress' do
|
2014-07-06 02:20:44 +00:00
|
|
|
subject { object.progress(double('some input')) }
|
2014-07-03 21:16:12 +00:00
|
|
|
|
|
|
|
it_should_behave_like 'a command method'
|
|
|
|
end
|
2014-05-11 14:16:50 +00:00
|
|
|
end
|