spec/lib/endpoint/params_parser_spec.rb in grape-swagger-0.34.2 vs spec/lib/endpoint/params_parser_spec.rb in grape-swagger-1.0.0

- old
+ new

@@ -3,11 +3,12 @@ require 'spec_helper' describe GrapeSwagger::Endpoint::ParamsParser do let(:settings) { {} } let(:params) { [] } + let(:endpoint) { nil } - let(:parser) { described_class.new(params, settings) } + let(:parser) { described_class.new(params, settings, endpoint) } describe '#parse_request_params' do subject(:parse_request_params) { parser.parse_request_params } context 'when param is of array type' do