Sha256: fcd320ea8ebf9b23135c9a9765d301ebb7be4a09e6e29505fe5b1ec230bb2733
Contents?: true
Size: 829 Bytes
Versions: 1
Compression:
Stored size: 829 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper') require File.expand_path(File.dirname(__FILE__) + '/../../../../lib/sniffles/sniffers/cms/vbulletin') describe Sniffles::Sniffers::Vbulletin do describe "#output" do context "vbulletin", :vcr => { :cassette_name => "vbulletin_com" } do let(:vbulletin) { described_class.new(page_body("https://www.vbulletin.com/forum/forum.php")) } it { vbulletin.output[:found].should eq true } it { vbulletin.output[:version].should eq "4.1.11" } it { vbulletin.output[:feed].should eq "https://www.vbulletin.com/forum/external.php?type=RSS2" } end context "not vbulletin" do let(:blank) { described_class.new(empty_html_doc) } it { blank.output[:found].should eq false } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sniffles-0.1.2 | spec/sniffles/sniffers/cms/vbulletin_spec.rb |