Move spec subject to null integration

This commit is contained in:
Markus Schirp 2014-07-12 21:01:51 +00:00
parent 24b4097259
commit 47bf498d4c

View file

@ -8,15 +8,21 @@ describe Mutant::Integration do
let(:object) { class_under_test.new }
describe '#all_tests' do
subject { object.all_tests }
it { should eql([]) }
it_should_behave_like 'an idempotent method'
end
describe '#setup' do
subject { object.setup }
it_should_behave_like 'a command method'
end
end
describe Mutant::Integration::Null do
let(:object) { described_class.new }
describe '#setup' do
subject { object.all_tests }
it { should eql([]) }
it_should_behave_like 'an idempotent method'
end
end