Sha256: b9499ce8aec72eff5304dd28675d74a2193120b519a69f543153c36377175eb0

Contents?: true

Size: 291 Bytes

Versions: 6

Compression:

Stored size: 291 Bytes

Contents

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

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

6 entries across 6 versions & 1 rubygems

Version Path
test_notifier-1.0.0 test/test_helper.rb
test_notifier-0.4.0 test/test_helper.rb
test_notifier-0.3.6 test/test_helper.rb
test_notifier-0.3.5 test/test_helper.rb
test_notifier-0.3.5.rc.4 test/test_helper.rb
test_notifier-0.3.5.rc.3 test/test_helper.rb