Sha256: 37c6a31e4820d2c7f870630224b09cda7581af5fe0b084551a1b65eaa033c993

Contents?: true

Size: 257 Bytes

Versions: 2

Compression:

Stored size: 257 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

2 entries across 2 versions & 1 rubygems

Version Path
gscraper-0.4.0 spec/page_has_results_examples.rb
gscraper-0.3.0 spec/page_has_results_examples.rb