Sha256: 13bc32d97f3f11486e6db1da53c22173d8da68a360681184c2bdb68fc9fc7e12
Contents?: true
Size: 461 Bytes
Versions: 2
Compression:
Stored size: 461 Bytes
Contents
require 'spec_helper' describe PageRankr::Ranks::AlexaCountry 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/ranks/alexa_country_spec.rb |
PageRankr-4.6.0 | spec/ranks/alexa_country_spec.rb |