Sha256: 93384a14f5646ad129cc051a588e51a4e18791a6f41e33f2ecfe23eb465f2fc9

Contents?: true

Size: 540 Bytes

Versions: 6

Compression:

Stored size: 540 Bytes

Contents

# encoding: utf-8

# This file is the sandbox for new mutations.
# Once finished mutation test will be moved to class specfic
# file.

require 'spec_helper'

describe Mutant::Mutator, '.each' do

  pending 'interpolated string literal (DynamicString)' do
    let(:source) { '"foo#{1}bar"' }

    let(:random_string) { 'this-is-random' }

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

    before do
      Mutant::Random.stub(hex_string: random_string)
    end

    it_should_behave_like 'a mutator'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mutant-0.3.1 spec/unit/mutant/mutator/each_spec.rb
mutant-0.3.0 spec/unit/mutant/mutator/each_spec.rb
mutant-0.3.0.rc5 spec/unit/mutant/mutator/each_spec.rb
mutant-0.3.0.rc4 spec/unit/mutant/mutator/each_spec.rb
mutant-0.3.0.rc3 spec/unit/mutant/mutator/each_spec.rb
mutant-0.3.0.rc2 spec/unit/mutant/mutator/each_spec.rb