Sha256: 8b73aebceac2c64e1d9644359909f6f15810d31be4116ab8047d053e01749b76

Contents?: true

Size: 329 Bytes

Versions: 24

Compression:

Stored size: 329 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

24 entries across 24 versions & 1 rubygems

Version Path
mutant-0.5.12 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.5.11 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.5.10 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.5.9 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.5.8 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.5.7 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.5.6 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.5.5 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.5.4 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.5.3 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.5.2 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.5.1 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.5.0 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.3.6 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.3.5 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.3.4 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.3.3 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.3.2 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.3.1 spec/unit/mutant/mutator/node/literal/symbol_spec.rb
mutant-0.3.0 spec/unit/mutant/mutator/node/literal/symbol_spec.rb