mirror of
https://github.com/samsonjs/grape-active_model_serializers.git
synced 2026-03-25 08:45:55 +00:00
Modify first argument for Grape::Endpoint.new to fix error caused by calling a method on nil.
This commit is contained in:
parent
1625bd2603
commit
9e56991a50
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ require 'spec_helper'
|
|||
|
||||
describe 'Grape::EndpointExtension' do
|
||||
|
||||
subject { Grape::Endpoint.new(nil, {path: '/', method: 'foo'}) }
|
||||
subject { Grape::Endpoint.new({}, {path: '/', method: 'foo'}) }
|
||||
|
||||
let(:serializer) { Grape::Formatter::ActiveModelSerializers }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue