Sha256: 3fc0aed30fd27adbb39361acc124f86561a533b57ac849d9c732f1f0c7a4d028
Contents?: true
Size: 232 Bytes
Versions: 2
Compression:
Stored size: 232 Bytes
Contents
$:.unshift(File.dirname(__FILE__) + '/../lib') require 'rawler' require 'fakeweb' FakeWeb.allow_net_connect = false def register(uri, content, status=200) FakeWeb.register_uri(:any, uri, :body => content, :status => status) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rawler-0.0.2 | spec/spec_helper.rb |
rawler-0.0.1 | spec/spec_helper.rb |