Sha256: c866b80719cc1e1851963e09de832a0822b85f153e563be42592e58e1f6a07f6
Contents?: true
Size: 338 Bytes
Versions: 4
Compression:
Stored size: 338 Bytes
Contents
require 'typhoeus' SNIFFER_COUNT = Dir.glob(File.dirname(__FILE__) + "/../../lib/sniffles/sniffers/**/*.rb").count SNIFFER_GROUP_COUNT = Dir.glob(File.dirname(__FILE__) + "/../../lib/sniffles/sniffers/**").count def page_body(url) Typhoeus::Request.get(url).body end def empty_html_doc "<html><head></head><body></body></html>" end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
sniffles-0.1.5 | spec/support/helpers.rb |
sniffles-0.1.4 | spec/support/helpers.rb |
sniffles-0.1.3 | spec/support/helpers.rb |
sniffles-0.1.2 | spec/support/helpers.rb |