Sha256: e3e949689d946ab735025c0d1e9df366ca5ca8402b16ac6500c3529ba839f1b5
Contents?: true
Size: 470 Bytes
Versions: 33
Compression:
Stored size: 470 Bytes
Contents
require_relative "../test_helper.rb" class ClientTest < Raygun::IntegrationTest class InnocentTestException < StandardError def message "I am nothing but a test exception" end end def test_sending_a_sample_exception begin raise InnocentTestException.new rescue InnocentTestException => e response = Raygun.track_exception(e) assert_equal 202, response.code, "Raygun Request Failed: #{response.inspect}" end end end
Version data entries
33 entries across 33 versions & 1 rubygems