spec/unit/yaks/runner_spec.rb in yaks-0.7.3 vs spec/unit/yaks/runner_spec.rb in yaks-0.7.4
- old
+ new
@@ -153,10 +153,10 @@
it 'should insert a hook around the step' do
expect(runner.steps.map(&:first)).to eql [
:map, :format, :primitivize, :serialize
]
- expect(runner.steps.assoc(:format).last.call(nil)).to be :around_format_impl
+ expect(runner.steps.assoc(:format).last.call(nil, nil)).to be :around_format_impl
end
end
describe 'around' do
let(:hooks) { proc { skip(:serialize) } }