spec/unit/yaks/runner_spec.rb in yaks-0.11.0 vs spec/unit/yaks/runner_spec.rb in yaks-0.12.0
- old
+ new
@@ -18,11 +18,11 @@
}
let(:runner) {
Class.new(described_class) do
def steps
- [ [:step1, proc { |x| x + 35 }],
+ [ [:step1, proc { |x| x + 35 }],
[:step2, proc { |x, env| "#{env[:foo]}[#{x} #{x}]" }] ]
end
end.new(object: object, config: config, options: options)
}
@@ -335,10 +335,10 @@
mapper: mapper_class,
env: {'api.prefix' => 'pre_'}
}
}
- let(:object) { "foo" }
+ let(:object) { "foo" }
it 'should only run the mapper' do
expect(runner.map).to eql "mapped[foo]"
end