Sha256: d31837e395db94379b1e435ad070c786a4172905803cb91f95fdc9946c6c9396

Contents?: true

Size: 259 Bytes

Versions: 5

Compression:

Stored size: 259 Bytes

Contents

require 'spec_helper'

shared_examples_for "Page has Results" do

  it "should have results" do
    @page.length.should_not == 0
  end

  it "should have the maximum amount of results per page" do
    @page.length.should == @query.results_per_page
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gscraper-0.2.0 spec/page_has_results_examples.rb
gscraper-0.2.3 spec/page_has_results_examples.rb
gscraper-0.2.4 spec/page_has_results_examples.rb
gscraper-0.2.1 spec/page_has_results_examples.rb
gscraper-0.2.2 spec/page_has_results_examples.rb