diff --git a/lib/faraday/adapter/test.rb b/lib/faraday/adapter/test.rb index 37b3a38a5..05f07a174 100644 --- a/lib/faraday/adapter/test.rb +++ b/lib/faraday/adapter/test.rb @@ -275,7 +275,7 @@ def call(env) unless stub raise Stubs::NotFound, "no stubbed request for #{env[:method]} " \ - "#{env[:url]} #{env[:body]}" + "#{env[:url]} #{env[:body]} #{env[:headers]}" end block_arity = stub.block.arity