Sha256: 1d34343b8748c6f67ca8d9dda8ebfb216ad3e7ede5629fa9c69e4865d2a4e451
Contents?: true
Size: 556 Bytes
Versions: 3
Compression:
Stored size: 556 Bytes
Contents
require_relative "../test_helper.rb" # Very simple test class ResqueFailureTest < Raygun::UnitTest require "resque/failure/raygun" def setup super stub_request(:post, 'https://api.raygun.com/entries').to_return(status: 202) fake_successful_entry end def test_failure_backend_appears_to_work assert Resque::Failure::Raygun.new( StandardError.new("Worker Problem"), "TestWorker PID 123", "super_important_jobs", class: "SendCookies", args: [ "nik" ] ).save.success? end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
raygun4ruby-3.2.6 | test/unit/resque_failure_test.rb |
raygun4ruby-3.2.5.pre | test/unit/resque_failure_test.rb |
raygun4ruby-3.2.4 | test/unit/resque_failure_test.rb |