Sha256: 2a6a94896e331a5b9e8fef5946034a7e08b25d41623c5bd22c043c66f907e2c5

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

require "notifier"

module SpecHelpers
  def unsupport_all_notifiers
    Notifier.notifiers.each do |notifier|
      allow(notifier).to receive_messages(:supported? => false) unless notifier == Notifier::Placebo
    end
  end
end

RSpec.configure do |config|
  config.include SpecHelpers
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
notifier-0.5.1 spec/spec_helper.rb