Sha256: 836cb2ed2efc321b2280868331ed072f9e5026abd0c31a4107a4d8f55032d37b

Contents?: true

Size: 275 Bytes

Versions: 4

Compression:

Stored size: 275 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Mutant::Mutator::Node::Generic, 'yield' do
  let(:source)  { 'yield true' }

  let(:mutations) do
    mutations = []
    mutations << 'yield false'
    mutations << 'yield nil'
  end

  it_should_behave_like 'a mutator'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mutant-0.3.0.rc3 spec/unit/mutant/mutator/node/yield/mutation_spec.rb
mutant-0.3.0.rc2 spec/unit/mutant/mutator/node/yield/mutation_spec.rb
mutant-0.3.0.rc1 spec/unit/mutant/mutator/node/yield/mutation_spec.rb
mutant-0.3.0.beta22 spec/unit/mutant/mutator/node/yield/mutation_spec.rb