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