Sha256: 2b1557942ab4b9bce1932ca14d7c2249bfb031e50ec5933d8e9c02a1cf322d84
Contents?: true
Size: 531 Bytes
Versions: 9
Compression:
Stored size: 531 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.io/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
9 entries across 9 versions & 1 rubygems