spec/edge_cases_spec.rb in PageRankr-3.1.1 vs spec/edge_cases_spec.rb in PageRankr-3.1.2
- old
+ new
@@ -8,10 +8,10 @@
# For example, slocourts.net returns results for ca.gov, presumably because www.slocourts.ca.gov redirects
# to slocourts.net. Clearly something is wrong with how Alexa handles this case and so in the event this
# happens we treat the results as if there were no results.
describe "when Alexa returns results for the incorrect site" do
subject do
- VCR.use_cassette(:alexa_ranks_edge_case_1) do
+ VCR.use_cassette(:alexa_ranks_edge_case_1, :record => :new_episodes) do
PageRankr.ranks("http://slocourts.net", :alexa_us, :alexa_global)
end
end
it{ should have_key(:alexa_us) }
\ No newline at end of file