Sha256: 776e68fd941427d07fcd2da62612f302057ff66ba019ad4e88ce94e4859c96df

Contents?: true

Size: 274 Bytes

Versions: 1

Compression:

Stored size: 274 Bytes

Contents

require "test_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

1 entries across 1 versions & 1 rubygems

Version Path
test_notifier-1.0.1 spec/spec_helper.rb