1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Merge pull request #721 from bfad/fix-test-for-ruby-3

Fix method call in spec for Ruby 3.0.0
This commit is contained in:
Nikita Misharin 2021-02-17 00:10:02 +03:00 committed by GitHub
commit 8ceb806b09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ RSpec.describe HTTParty::Request::Body do
describe '#call' do
let(:options) { {} }
subject { described_class.new(params, options).call }
subject { described_class.new(params, **options).call }
context 'when params is string' do
let(:params) { 'name=Bob%20Jones' }