Sha256: 6e0a4ece56d054ea8cbc3cee15f1092e2c1f1041e76995ec81f61cb2427b6da0

Contents?: true

Size: 320 Bytes

Versions: 7

Compression:

Stored size: 320 Bytes

Contents

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

require "test_notifier"

class Test::Unit::TestCase
  private
  def unsupport_all_notifiers
    TestNotifier::Notifier.constants.each do |name|
      notifier = TestNotifier::Notifier.const_get(name)
      notifier.stubs(:supported?).returns(false)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
test_notifier-0.3.5.rc.2 test/test_helper.rb
test_notifier-0.3.5.rc.1 test/test_helper.rb
test_notifier-0.3.4 test/test_helper.rb
test_notifier-0.3.3 test/test_helper.rb
test_notifier-0.3.2 test/test_helper.rb
test_notifier-0.3.1 test/test_helper.rb
test_notifier-0.3.0 test/test_helper.rb