spec/grape/request_spec.rb in grape-1.5.1 vs spec/grape/request_spec.rb in grape-1.5.2
- old
+ new
@@ -73,10 +73,10 @@
after do
Grape.config.reset
end
- subject(:request_params) { Grape::Request.new(env, opts).params }
+ subject(:request_params) { Grape::Request.new(env, **opts).params }
context 'when the API does not include a specific param builder' do
let(:opts) { {} }
it { is_expected.to be_a(Hashie::Mash) }
end