spec/lib/magicka/aggregator_spec.rb in magicka-0.6.0 vs spec/lib/magicka/aggregator_spec.rb in magicka-1.0.0

- old
+ new

@@ -74,11 +74,11 @@ .to receive(:render) .with(partial: template, locals: locals) end it 'renders an input' do - aggregator.input(field, arguments) + aggregator.input(field, **arguments) expect(renderer).to have_received(:render) end context 'when passing a custom model' do @@ -138,11 +138,11 @@ .to receive(:render) .with(partial: template, locals: locals) end it 'renders an input' do - aggregator.my_input(field, arguments) + aggregator.my_input(field, **arguments) expect(renderer).to have_received(:render) end context 'when passing a custom model' do @@ -204,10 +204,10 @@ .to receive(:render) .with(partial: template, locals: locals) end it 'renders an input' do - aggregator.input(field, arguments) + aggregator.input(field, **arguments) expect(renderer).to have_received(:render) end context 'when passing a custom model' do