Sha256: 9480f1fbce177976d3e371bd01fcd669b7b9faa62deb4bc7d3edd556430cc4ad
Contents?: true
Size: 509 Bytes
Versions: 2
Compression:
Stored size: 509 Bytes
Contents
require 'spec_helper' describe PageRankr::Backlinks::Yahoo do describe '#run' do let(:tracker){described_class.new(site)} subject(:result){tracker.run} context 'with match', :vcr do let(:site){'http://www.google.com'} it{is_expected.to be_number > 0} end context 'with no match', :vcr do let(:site){'http://please-dont-register-a-site-that-breaks-this-test.com'} # currently matches suggested results it{is_expected.to be_number < 2} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
PageRankr-4.6.1 | spec/backlinks/yahoo_spec.rb |
PageRankr-4.6.0 | spec/backlinks/yahoo_spec.rb |