free_mutant/spec/unit/mutant/mutator/each_spec.rb
Dan Kubb 7293386c26 Add magic encoding header to all ruby files
* rubocop still warns about this on ruby 1.9.3, so it was fixed so
  it produces less output on travis.
2013-07-28 16:03:06 -07:00

27 lines
543 B
Ruby

# encoding: utf-8
# 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