spec/unit/mutant/mutator/node/while/mutation_spec.rb in mutant-0.3.0.beta21 vs spec/unit/mutant/mutator/node/while/mutation_spec.rb in mutant-0.3.0.beta22
- old
+ new
@@ -1,10 +1,12 @@
+# encoding: utf-8
+
require 'spec_helper'
describe Mutant::Mutator::Node::While do
context 'with more than one statement' do
- let(:source) { "while true; foo; bar; end" }
+ let(:source) { 'while true; foo; bar; end' }
let(:mutations) do
mutations = []
mutations << 'while true; bar; end'
mutations << 'while true; foo; end'