free_mutant/spec/unit/mutant/mutator/each_spec.rb

25 lines
529 B
Ruby
Raw Normal View History

# This file is the sandbox for new mutations.
2012-08-01 07:30:08 -04:00
# Once finished mutation test will be moved to class specfic
# file.
require 'spec_helper'
describe Mutant::Mutator, '.each' do
let(:random_string) { 'bar' }
pending 'interpolated string literal (DynamicString)' do
let(:source) { '"foo#{1}bar"' }
let(:mutations) do
mutations = []
mutations << 'nil'
end
before do
Mutant::Random.stub(:hex_string => random_string)
end
it_should_behave_like 'a mutation enumerator method'
end
end