diff --git a/spec/unit/mutant/mutator/node/next/mutation_spec.rb b/spec/unit/mutant/mutator/node/next/mutation_spec.rb index a5fdeaaa..4bf4e406 100644 --- a/spec/unit/mutant/mutator/node/next/mutation_spec.rb +++ b/spec/unit/mutant/mutator/node/next/mutation_spec.rb @@ -3,8 +3,13 @@ require 'spec_helper' describe Mutant::Mutator::Node::Generic, 'next' do - let(:source) { 'next true' } - let(:mutations) { [] } + let(:source) { 'next true' } + + let(:mutations) do + mutations = [] + mutations << 'next false' + mutations << 'next nil' + end it_should_behave_like 'a mutator' end