Sha256: f3527e87b561c5bb8c5cdc076988713ebf03fc4a34be089df1ae963d43f4d07f
Contents?: true
Size: 459 Bytes
Versions: 2
Compression:
Stored size: 459 Bytes
Contents
require 'spec_helper' describe PageRankr::Backlinks::Google 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'} it{is_expected.to be_nil} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
PageRankr-4.6.1 | spec/backlinks/google_spec.rb |
PageRankr-4.6.0 | spec/backlinks/google_spec.rb |