Sha256: fcd7e9f20edc8ac31016b6e10b83fda5c7173ec78ea93b77f29cffe43f912946
Contents?: true
Size: 502 Bytes
Versions: 2
Compression:
Stored size: 502 Bytes
Contents
require "spec_helper" class Rollbar # mock Rollbar end describe UniformNotifier::RollbarNotifier do it "should not notify rollbar" do UniformNotifier::RollbarNotifier.out_of_channel_notify(:title => "notify rollbar").should be_nil end it "should notify rollbar" do Rollbar.should_receive(:info).with(UniformNotifier::Exception.new("notify rollbar")) UniformNotifier.rollbar = true UniformNotifier::RollbarNotifier.out_of_channel_notify(:title => "notify rollbar") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
uniform_notifier-1.9.0 | spec/uniform_notifier/rollbar_spec.rb |
uniform_notifier-1.8.0 | spec/uniform_notifier/rollbar_spec.rb |