Sha256: b090d6ea3698d21f1ece150edb028c433b60c99b98d4046ce83c7d096ccdda47

Contents?: true

Size: 790 Bytes

Versions: 2

Compression:

Stored size: 790 Bytes

Contents

require 'pathname'
require 'tmpdir'
require 'tempfile'
require 'fileutils'

require 'minitest/autorun'
require 'mocha'
require 'every'
begin
  require 'redgreen' #http://gemcutter.org/gems/mynyml-redgreen
  require 'phocus'
  require 'ruby-debug'
rescue LoadError, RuntimeError
end

require 'watchr'

class MiniTest::Unit::TestCase
  class << self
    def test(name, &block)
      define_method("test_#{name.gsub(/\s/,'_')}", &block)
    end
    alias :should :test

    # noop
    def xtest(*args) end
  end
end

unless Watchr::HAVE_REV
  puts "Skipping Unix handler tests. Install Rev (gem install rev) to properly test full suite"
end

unless Watchr::HAVE_FSE
  puts "Skipping Darwin handler tests. Install FSEvent (gem install ruby-fsevent) to properly test full suite (osx only)"
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
social_url_stats-0.0.1 vendor/ruby/1.9.1/gems/watchr-0.7/test/test_helper.rb
watchr-0.7 test/test_helper.rb