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