Sha256: 5211b484e09994c77cdb2ded4e066a851b42e1c5d4b446d870fdb488a2c3897e

Contents?: true

Size: 517 Bytes

Versions: 23

Compression:

Stored size: 517 Bytes

Contents

require File.expand_path '../helper', __FILE__

class ResponseTest < Test::Unit::TestCase
  include DefinesConstants

  def response_body
    File.read File.expand_path('../support/response_shim.xml', __FILE__)
  end

  should "output a nicely formatted notice details" do
    output = Airbrake::Response.pretty_format(response_body)

    assert %r{ID: b6817316-9c45-ed26-45eb-780dbb86aadb}, "#{output}"
    assert %r{URL: http://airbrake.io/locate/b6817316-9c45-ed26-45eb-780dbb86aadb},
      "#{output}"

  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
airbrakeV4rails5-4.3.8 test/response_test.rb
airbrake-4.3.8 test/response_test.rb
airbrake-4.3.7 test/response_test.rb
airbrake-4.3.6 test/response_test.rb
airbrake-4.3.5 test/response_test.rb
airbrake-4.3.4 test/response_test.rb
airbrake-4.3.3 test/response_test.rb
airbrake-4.3.2 test/response_test.rb
airbrake-4.3.1 test/response_test.rb
airbrake-4.3.0 test/response_test.rb
airbrake-4.2.1 test/response_test.rb
airbrake-4.2.0 test/response_test.rb
airbrake-4.1.0 test/response_test.rb
airbrake-4.0.0 test/response_test.rb
airbrake-3.2.1 test/response_test.rb
airbrake-3.2.0 test/response_test.rb
airbrake-3.1.17 test/response_test.rb
airbrake-3.1.16 test/response_test.rb
airbrake-3.1.15 test/response_test.rb
airbrake-3.1.14 test/response_test.rb