Sha256: 4f17f801d06732a1f72b53f8ecf06f557b1df8a0d4af2f47c595fcc4fc9934f1
Contents?: true
Size: 628 Bytes
Versions: 4
Compression:
Stored size: 628 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper') require File.expand_path(File.dirname(__FILE__) + '/../../../../lib/sniffles/sniffers/cms/typepad') describe Sniffles::Sniffers::Typepad do describe "#output" do context "typepad", :vcr => { :cassette_name => "soulemama_typepad_com" } do subject { described_class.new(page_body("http://www.soulemama.typepad.com/")).output } its([:found]) { should eq true } end context "not typepad" do subject { described_class.new(empty_html_doc).output } its([:found]) { should eq false } end end end
Version data entries
4 entries across 4 versions & 1 rubygems