Add context for multiple when branches
This commit is contained in:
parent
6547412f61
commit
4e641859ee
1 changed files with 211 additions and 209 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue