Sha256: b713bc8486bd2c2a68278cac566853760d41132c809d8f4a306f3b1b0c830331

Contents?: true

Size: 355 Bytes

Versions: 11

Compression:

Stored size: 355 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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rawler-0.1.7 spec/spec_helper.rb
rawler-0.1.6 spec/spec_helper.rb
rawler-0.1.5 spec/spec_helper.rb
rawler-0.1.4 spec/spec_helper.rb
rawler-0.1.3 spec/spec_helper.rb
rawler-0.1.1 spec/spec_helper.rb
rawler-0.1.0 spec/spec_helper.rb
rawler-0.0.9 spec/spec_helper.rb
rawler-0.0.8 spec/spec_helper.rb
rawler-0.0.7 spec/spec_helper.rb
rawler-0.0.6 spec/spec_helper.rb