Add context for multiple when branches

This commit is contained in:
Dan Kubb 2013-06-22 22:18:10 -07:00
parent 6547412f61
commit 4e641859ee

View file

@ -7,6 +7,7 @@ describe Mutant::Mutator::Node::Case do
Mutant::Random.stub(:hex_string => random_string)
end
context 'with multiple when branches' do
let(:source) do
<<-RUBY
case :condition
@ -217,4 +218,5 @@ describe Mutant::Mutator::Node::Case do
end
it_should_behave_like 'a mutator'
end
end