Sha256: 857297da0f1959ee36d8aa8070300b269083dd62b58066ef1d38d1ef86d8af13
Contents?: true
Size: 528 Bytes
Versions: 2
Compression:
Stored size: 528 Bytes
Contents
require 'spec_helper' describe Aranea do it 'should delegate name to thema' do aranea = Thema.new('Rock', ['rock.com']).araneas.first expect(aranea.name).to eq('Rock') end it 'should use only one url' do aranea = Thema.new('Rock', ['r1.com', 'r2.com']).araneas.first expect(aranea.url).to eq('http://r1.com') end # it 'should crawl a domain VCR ruby-lang', :vcr do # ruby = Thema.new('fire', ['http://fireho.com']) # ar = ruby.araneas.first # expect(ar.datum).to match(/oi/) # end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ubi-0.0.8 | spec/ubi/aranea_spec.rb |
ubi-0.0.7 | spec/ubi/aranea_spec.rb |