# File lib/faraday/adapter/test.rb, line 107 def call(env) super normalized_path = Faraday::Utils.normalize_path(env[:url]) if stub = stubs.match(env[:method], normalized_path, env[:body]) status, headers, body = stub.block.call(env) save_response(env, status, body, headers) else raise "no stubbed request for #{env[:method]} #{normalized_path} #{env[:body]}" end @app.call(env) end