Sha256: f37d5c3eb9e5e988a426a80ed064f41fe84076158bc33103b11b27f0e52779b7

Contents?: true

Size: 320 Bytes

Versions: 27

Compression:

Stored size: 320 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

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

  it_should_behave_like 'a mutator'
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
mutant-0.5.17 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.16 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.15 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.14 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.13 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.12 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.11 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.10 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.9 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.8 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.7 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.6 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.5 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.4 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.3 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.2 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.1 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.5.0 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.3.6 spec/unit/mutant/mutator/node/yield_spec.rb
mutant-0.3.5 spec/unit/mutant/mutator/node/yield_spec.rb