Sha256: fbb102b464f2434a1a4c9b2800ec4dbfed32ff3a118a7c034281e5142166c63b
Contents?: true
Size: 269 Bytes
Versions: 3
Compression:
Stored size: 269 Bytes
Contents
require "notifier" module SpecHelpers def unsupport_all_notifiers Notifier.notifiers.each do |notifier| notifier.stub :supported? => false unless notifier == Notifier::Placebo end end end RSpec.configure do |config| config.include SpecHelpers end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
notifier-0.5.0 | spec/spec_helper.rb |
notifier-0.4.1 | spec/spec_helper.rb |
notifier-0.4.0 | spec/spec_helper.rb |