free_mutant/spec/unit/mutant/mutator/literal/boolean_spec.rb
Markus Schirp bb9809fa39 Reorganize unit specs.
* The old nameing did not make any sense. Sorry for not useing git mv.
2012-08-01 14:13:57 +02:00

23 lines
421 B
Ruby

require 'spec_helper'
describe Mutant::Mutator::Literal, 'boolean' do
context 'true literal' do
let(:source) { 'true' }
let(:mutations) do
%w(nil false)
end
it_should_behave_like 'a mutation enumerator method'
end
context 'false literal' do
let(:source) { 'false' }
let(:mutations) do
%w(nil true)
end
it_should_behave_like 'a mutation enumerator method'
end
end