Sha256: c910750b46699aece6509b8eb88aa34fb4a03c54ec2df551bc185066b68138df

Contents?: true

Size: 439 Bytes

Versions: 2

Compression:

Stored size: 439 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Mutant::Mutator::Node::Generic, 'dsum' do
  before do
    Mutant::Random.stub(:hex_string => 'random')
  end

  let(:source)  { ':"foo#{bar}baz"' }

  let(:mutations) do
    mutations = []
    mutations << ':"random#{bar}baz"'
    mutations << ':"#{nil}#{bar}baz"'
    mutations << ':"foo#{bar}random"'
    mutations << ':"foo#{bar}#{nil}"'
  end

  it_should_behave_like 'a mutator'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mutant-0.3.0.rc1 spec/unit/mutant/mutator/node/dsym/mutation_spec.rb
mutant-0.3.0.beta22 spec/unit/mutant/mutator/node/dsym/mutation_spec.rb