Sha256: 99e85f734a1f5c3d776f07966e5898625485c193376177452f1ebbe6f5802593
Contents?: true
Size: 328 Bytes
Versions: 2
Compression:
Stored size: 328 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Mutant::Mutator::Node::Literal, 'string' do let(:random_string) { 'bar' } let(:source) { '"foo"' } let(:mutations) do %W(nil "#{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/string_spec.rb |
mutant-0.3.0.beta22 | spec/unit/mutant/mutator/node/literal/string_spec.rb |