spec/unit/mutant/mutator/emit_spec.rb in mutant-0.3.0.beta21 vs spec/unit/mutant/mutator/emit_spec.rb in mutant-0.3.0.beta22
- old
+ new
@@ -1,12 +1,14 @@
+# encoding: utf-8
+
require 'spec_helper'
describe Mutant::Mutator, '#emit' do
subject { object.send(:emit, generated) }
class Block
- def arguments; @arguments; end
+ attr_reader :arguments
def called?
defined?(@arguments)
end
@@ -21,10 +23,10 @@
let(:parent) { :parent }
let(:class_under_test) do
Class.new(described_class) do
def dispatch
- #noop
+ # noop
end
end
end
context 'with generated that is not equal to input' do