Sha256: 5a3c8d7b41682d9c5d5b2222b8e65c848f648d0d41f8dda03fddd98abb334ffd

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

require 'spec_helper.rb'

describe SeoInfo::Google do
  let(:google) do
    path = 'spec/data/google_search.html'
    google = SeoInfo::Google.new('example.com')
    google.stub(:get_page).and_return(File.read(path))
    google
  end

  it "returns number greater than zero" do
    google.indexed_pages.should > 0
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
seo_info-0.0.1 spec/specs/google_spec.rb