Sha256: 26cfc894731454050b94d1dcd1f325b91873027bb132b361891dc96ed51d6520

Contents?: true

Size: 286 Bytes

Versions: 8

Compression:

Stored size: 286 Bytes

Contents

gem "test-unit"
require "test/unit"
require "mocha"

require "notifier"

class Test::Unit::TestCase
  private
  def unsupport_all_notifiers
    Notifier.notifiers.each do |notifier|
      notifier.stubs(:supported?).returns(false) unless notifier == Notifier::Placebo
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
notifier-0.2.1 test/test_helper.rb
notifier-0.2.0 test/test_helper.rb
notifier-0.1.5 test/test_helper.rb
notifier-0.1.4 test/test_helper.rb
notifier-0.1.3 test/test_helper.rb
notifier-0.1.2 test/test_helper.rb
notifier-0.1.1 test/test_helper.rb
notifier-0.1.0 test/test_helper.rb