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