Sha256: 21c0ef93d320f76467991015c460bcfc8311f800a2b18a224958e2ecbcf97657
Contents?: true
Size: 354 Bytes
Versions: 1
Compression:
Stored size: 354 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rawler-0.0.5 | spec/spec_helper.rb |