Move spec subject to null integration
This commit is contained in:
parent
24b4097259
commit
47bf498d4c
1 changed files with 13 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue