Sha256: 54c59d35c43b0ac53bf0136611dc9f360dfe98888b18fdbf3d8c87ac3cc5e145

Contents?: true

Size: 398 Bytes

Versions: 5

Compression:

Stored size: 398 Bytes

Contents

#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/helper'

class TestAirbrake < Minitest::Test
  def test_notify
    airbrake = God::Contacts::Airbrake.new
    airbrake.apikey = "put_your_apikey_here"
    airbrake.name = "Airbrake"

    Airbrake.expects(:notify).returns "123"

    airbrake.notify("Test message for airbrake", Time.now, "airbrake priority", "airbrake category", "")
  end
end

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
resurrected_god-0.14.0 test/test_airbrake.rb
mcproc-2016.2.20 test/test_airbrake.rb
god-0.13.7 test/test_airbrake.rb
god-0.13.6 test/test_airbrake.rb
god-0.13.5 test/test_airbrake.rb