Sha256: e3325e5475bf43ba5602b03b408c500133dac27801f8eb3adc2fbcb647a22bee
Contents?: true
Size: 297 Bytes
Versions: 4
Compression:
Stored size: 297 Bytes
Contents
require "test_notifier" module SpecHelpers def unsupport_all_notifiers Notifier.notifiers.each do |notifier| allow(notifier).to receive(:supported?).and_return(false) unless notifier == Notifier::Placebo end end end RSpec.configure do |config| config.include SpecHelpers end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
test_notifier-2.0.3 | spec/spec_helper.rb |
test_notifier-2.0.2 | spec/spec_helper.rb |
test_notifier-2.0.1 | spec/spec_helper.rb |
test_notifier-2.0.0 | spec/spec_helper.rb |