Sha256: 1e6ccc1de85fa53076415f1a7aeff48cadb6f00b4f9de90025bd27be05367ddd

Contents?: true

Size: 404 Bytes

Versions: 2

Compression:

Stored size: 404 Bytes

Contents

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

class TestAirbrake < Test::Unit::TestCase
  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

2 entries across 2 versions & 1 rubygems

Version Path
god-0.13.4 test/test_airbrake.rb
god-0.13.3 test/test_airbrake.rb