Sha256: 027e759f0acca29017e8bc2cc32c00adffe9ba5c0f017d90a777450309ef2135

Contents?: true

Size: 490 Bytes

Versions: 4

Compression:

Stored size: 490 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + "/spec_helper")

describe "Searching Google" do
  it "should show results for Ruby Page Models" do
    open_page(GoogleSearchPage)
    search_for("Ruby Page Models")

    should_see_page(GoogleResultsPage.new("Ruby Page Models"))
    verify_more_than_one_page_of_results
    verify_special_results_option("Images")
    verify_special_results_option("News")
    
    verify_top_result("http://www.github.com/rickgrundy/pagemodels")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pagemodels-0.2.3 examples/rspec_and_capybara/spec/google_search_spec.rb
pagemodels-0.2.2 examples/rspec_and_capybara/spec/google_search_spec.rb
pagemodels-0.2.1 examples/rspec_and_capybara/spec/google_search_spec.rb
pagemodels-0.2.0 examples/rspec_and_capybara/spec/google_search_spec.rb