Sha256: de3ee6242f1f42cb561e0982868ea5f656cf3c427ee774d2e472c5d1d6d070ec
Contents?: true
Size: 391 Bytes
Versions: 1
Compression:
Stored size: 391 Bytes
Contents
require 'spec_helper' describe Mutant::Mutator, 'lvar' do before do Mutant::Random.stub(:hex_string => 'random') end let(:source) { 'a = nil; a' } let(:mutations) do mutants = [] mutants << 'a = nil; nil' mutants << 'a = nil' mutants << 'a' mutants << 'a = ::Object.new; a' mutants << 'srandom = nil; a' end it_should_behave_like 'a mutator' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mutant-0.3.0.beta19 | spec/unit/mutant/mutator/node/lvar/mutation_spec.rb |