Sha256: 7db5d1b71cb8c1c50e46fb265b523786638e29f50e66efce45e2c58ea68f27ae

Contents?: true

Size: 332 Bytes

Versions: 2

Compression:

Stored size: 332 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Mutant::Mutator::Node::Literal, 'symbol' do
  let(:random_string) { 'bar' }

  let(:source) { ':foo' }

  let(:mutations) do
    %w(nil) << ":s#{random_string}"
  end

  before do
    Mutant::Random.stub(:hex_string => random_string)
  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/literal/symbol_spec.rb
mutant-0.3.0.beta22 spec/unit/mutant/mutator/node/literal/symbol_spec.rb