Sha256: 5ec43d7792a011210134fe409ca1384bd07a97ee5a1fdde39e869289efc687f6

Contents?: true

Size: 515 Bytes

Versions: 3

Compression:

Stored size: 515 Bytes

Contents

require 'helper'

VCR.configure do |config|
  config.cassette_library_dir = "test/fixtures/vcr_cassettes"
  config.hook_into :webmock
end

class NonSpecificUrlTest < Minitest::Test
  def setup

  end

  def test_total
    VCR.use_cassette("google") do
      p = Popularity.search('http://google.com')
      assert_match 23405566, p.total
    end
  end

  def test_search_info
    VCR.use_cassette("google") do
      p = Popularity.search('http://google.com')
      assert_match 23405566, p.total
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
popularity-0.1.1 test/test_non_specific.rb
popularity-0.1.0 test/test_non_specific.rb
popularity-0.0.1 test/test_non_specific.rb