Sha256: e2c3086f6084a78faf3d10a110852f2e6fb7a8fa131b65f553fd0f9c2f810043

Contents?: true

Size: 518 Bytes

Versions: 23

Compression:

Stored size: 518 Bytes

Contents

$:.unshift 'lib/', File.dirname(__FILE__) + '/../lib'

require 'rubygems'

try = proc do |library, version|
  begin
    dashed = library.gsub('/','-')
    require library
    gem dashed, version
  rescue LoadError
    puts "=> You need the #{library} gem to run these tests.",
         "=> $ sudo gem install #{dashed}"
    exit
  end
end

try['test/spec', '>= 0.3']
try['mocha', '>= 0.4']

begin require 'redgreen'; rescue LoadError; nil end

def fixture(name)
  File.dirname(__FILE__) + "/fixtures/#{name}.html"
end

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
calagator-1.0.0 vendor/gems/mofo-0.2.8/test/test_helper.rb
grokus-1.0.0.9 vendor/gems/mofo-0.2.8/test/test_helper.rb
grokus-1.0.0.8 vendor/gems/mofo-0.2.8/test/test_helper.rb
grokus-1.0.0.7 vendor/gems/mofo-0.2.8/test/test_helper.rb
grokus-1.0.0.6 vendor/gems/mofo-0.2.8/test/test_helper.rb
grokus-1.0.0.5 vendor/gems/mofo-0.2.8/test/test_helper.rb
grokus-1.0.0.3 vendor/gems/mofo-0.2.8/test/test_helper.rb
grokus-1.0.0.2 vendor/gems/mofo-0.2.8/test/test_helper.rb
grokus-1.0.0.1 vendor/gems/mofo-0.2.8/test/test_helper.rb
calagator-1.0.0.rc3 vendor/gems/mofo-0.2.8/test/test_helper.rb
mofo-0.2.6 ./test/test_helper.rb
mofo-0.2.10 ./test/test_helper.rb
mofo-0.2.12 ./test/test_helper.rb
mofo-0.2.11 ./test/test_helper.rb
mofo-0.2.13 ./test/test_helper.rb
mofo-0.2.14 ./test/test_helper.rb
mofo-0.2.15 ./test/test_helper.rb
mofo-0.2.16 ./test/test_helper.rb
mofo-0.2.3 ./test/test_helper.rb
mofo-0.2.4 ./test/test_helper.rb