free_mutant/spec/unit/mutant/mutator/node/kwbegin_spec.rb
Markus Schirp a9974741f2 Use more modern spec file naming in spec/unit/mutator/node/*_spec.rb
* The old layout was imposed by older mutants that selected tests via
  file names.
* Reduce the useless namespace Mutator::Node::Connective
2013-12-29 23:04:28 +01:00

16 lines
317 B
Ruby

# encoding: utf-8
require 'spec_helper'
describe Mutant::Mutator::Node::Kwbegin, 'kwbegin' do
let(:source) { 'begin; true; end' }
let(:mutations) do
mutations = []
mutations << 'begin; false; end'
mutations << 'begin; nil; end'
mutations << 'nil'
end
it_should_behave_like 'a mutator'
end