spec/elastic_apm/spies/faraday_spec.rb [248:260]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        with_agent do
          begin
            ElasticAPM.with_transaction 'Faraday Middleware test' do
              client.get('http://example.com')
            end
          rescue Faraday::ClientError
          end
        end
        span, = @intercepted.spans

        http = span.context.http
        expect(http.status_code).to eq('500')
      end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/elastic_apm/spies/faraday_spec.rb [272:284]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        with_agent do
          begin
            ElasticAPM.with_transaction 'Faraday Middleware test' do
              client.get('http://example.com')
            end
          rescue Faraday::ClientError
          end
        end
        span, = @intercepted.spans

        http = span.context.http
        expect(http.status_code).to eq('500')
      end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



