spec/unit/mutant/mutator/emit_new_spec.rb in mutant-0.3.0.beta2 vs spec/unit/mutant/mutator/emit_new_spec.rb in mutant-0.3.0.beta3
- old
+ new
@@ -13,12 +13,13 @@
def call(*arguments)
@arguments = arguments
end
end
- let(:object) { class_under_test.new(input, block) }
- let(:block) { Block.new }
- let(:input) { :input }
+ let(:object) { class_under_test.new(input, parent, block) }
+ let(:block) { Block.new }
+ let(:input) { :input }
+ let(:parent) { :parent }
let(:class_under_test) do
Class.new(described_class) do
def dispatch
#noop