Sha256: 513077fe99958b946ef83a83a9659e7ba7162b2c6c72f2ae37784c1c64ec75e0
Contents?: true
Size: 624 Bytes
Versions: 432
Compression:
Stored size: 624 Bytes
Contents
describe Appsignal::EventFormatter::Faraday::RequestFormatter do let(:klass) { Appsignal::EventFormatter::Faraday::RequestFormatter } let(:formatter) { klass.new } it "should register request.faraday" do expect(Appsignal::EventFormatter.registered?("request.faraday", klass)).to be_truthy end describe "#format" do let(:payload) do { :method => :get, :url => URI.parse("http://example.org/hello/world?some=param") } end subject { formatter.format(payload) } it { is_expected.to eq ["GET http://example.org", "GET http://example.org/hello/world"] } end end
Version data entries
432 entries across 432 versions & 1 rubygems