Sha256: ffb90896237cd9e69f08d707705b703db63dff2a822643a8dd8cf38dc0b2c1d4
Contents?: true
Size: 484 Bytes
Versions: 1
Compression:
Stored size: 484 Bytes
Contents
require "spec_helper" class Bugsnag # mock Bugsnag end describe UniformNotifier::BugsnagNotifier do it "should not notify bugsnag" do UniformNotifier::BugsnagNotifier.out_of_channel_notify("notify bugsnag").should be_nil end it "should notify bugsnag" do Bugsnag.should_receive(:notify).with(UniformNotifier::Exception.new("notify bugsnag")) UniformNotifier.bugsnag = true UniformNotifier::BugsnagNotifier.out_of_channel_notify("notify bugsnag") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
uniform_notifier-1.5.0 | spec/uniform_notifier/bugsnag_spec.rb |