diff --git a/spec/httparty_spec.rb b/spec/httparty_spec.rb index 8dd3e30..b90125f 100644 --- a/spec/httparty_spec.rb +++ b/spec/httparty_spec.rb @@ -150,7 +150,7 @@ RSpec.describe HTTParty do stub_request(:get, "http://example.com/").with(headers: {'foo' => 'bar', 'baz' => 'spax'}) - @klass.get('http://example.com/', headers: {baz: -> {'spax'}}) + @klass.get('http://example.com/', headers: {'baz' => -> {'spax'}}) expect(@klass.headers).to eq(init_headers) end