Sha256: 362faedaa9d7af3947d07fe0a395d4b62ebccb2da388f94c673e00d20d90cc4d

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

require 'bundler/setup'
require 'test/unit'
require 'fakeweb'
require 'toadhopper'

FakeWeb.allow_net_connect = true

def toadhopper
  @toadhopper ||= Toadhopper.new(ENV['AIRBRAKE_API_KEY'] || ENV['HOPTOAD_API_KEY'] || "test api key")
end

def error
  begin; raise "Kaboom!"; rescue => e; e end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
toadhopper-2.0 test/helper.rb