spec/admino/query/base_presenter_spec.rb in admino-0.0.12 vs spec/admino/query/base_presenter_spec.rb in admino-0.0.13
- old
+ new
@@ -14,10 +14,10 @@
fullpath: '/?foo=bar'
)
end
before do
- view.stub(:request).and_return(request_object)
+ allow(view).to receive(:request).and_return(request_object)
end
describe '#form' do
let(:result) do
presenter.form do |form|