free_mutant/spec/unit/mutant/mutator/each_spec.rb
2012-10-26 13:12:42 +02:00

25 lines
524 B
Ruby

# 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