Sha256: c0610bce17592f5f38afc781512072503ff2b0fd0d9cd33f5e4ffbbbb56d737c

Contents?: true

Size: 415 Bytes

Versions: 1

Compression:

Stored size: 415 Bytes

Contents

module Kernel

  def sleep(duration)
    nil
  end

end


$:.unshift(File.dirname(__FILE__) + '/../lib')
require 'rawler'
require 'fakeweb'

FakeWeb.allow_net_connect = false

def register(uri, content, status=200, options={})
  FakeWeb.register_uri(:any, uri, { :body => content, :status => status, :content_type => 'text/html' }.merge(options))
end

if ENV['COVERAGE']
  require 'simplecov'
  SimpleCov.start
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rawler-0.1.8 spec/spec_helper.rb