spec/lib/server_spec.rb in doorkeeper-3.0.1 vs spec/lib/server_spec.rb in doorkeeper-3.1.0

- old
+ new

@@ -43,10 +43,10 @@ end end it 'builds the request with selected strategy' do stub_const 'Doorkeeper::Request::Code', fake_class - expect(fake_class).to receive(:build).with(subject) + expect(fake_class).to receive(:new).with(subject) subject.authorization_request :code end end end