From 13516a0cc7a2a9144456c19cdea75174b1c009f1 Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Sat, 12 Jul 2014 20:53:57 +0000 Subject: [PATCH] Add test for Mutant::Integration#all_tests --- spec/unit/mutant/integration_spec.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spec/unit/mutant/integration_spec.rb b/spec/unit/mutant/integration_spec.rb index b5f33e03..8acc6ff0 100644 --- a/spec/unit/mutant/integration_spec.rb +++ b/spec/unit/mutant/integration_spec.rb @@ -8,6 +8,13 @@ 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'