Sha256: a5967adf8898cd7107430d633ad37cb9b2fff24261d6cc5a23352ec19ba520be
Contents?: true
Size: 653 Bytes
Versions: 4
Compression:
Stored size: 653 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper') require File.expand_path(File.dirname(__FILE__) + '/../../../../lib/sniffles/sniffers/advertising/buysellads') describe Sniffles::Sniffers::Buysellads do describe "#output", :vcr => { :cassette_name => "guistyles_com" } do context "buysellads" do let(:buysellads) { described_class.new(page_body("http://guistyles.com/")) } it { buysellads.output[:found].should eq true } end context "no buysellads" do let(:blank) { described_class.new(empty_html_doc) } it { blank.output[:found].should eq false } end end end
Version data entries
4 entries across 4 versions & 1 rubygems