Sha256: f225320400b2844ef8ad6a8bad03fa8a3f9063db9f8f18814710a8f87f28283c

Contents?: true

Size: 549 Bytes

Versions: 9

Compression:

Stored size: 549 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.new)
    page_model.search_for("Ruby Page Models")

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pagemodels-0.1.8 examples/rspec_and_capybara/spec/google_search_spec.rb
pagemodels-0.1.7 examples/rspec_and_capybara/spec/google_search_spec.rb
pagemodels-0.1.6 examples/rspec_and_capybara/spec/google_search_spec.rb
pagemodels-0.1.5 examples/rspec_and_capybara/spec/google_search_spec.rb
pagemodels-0.1.4 examples/rspec_and_capybara/spec/google_search_spec.rb
pagemodels-0.1.3 examples/rspec_and_capybara/spec/google_search_spec.rb
pagemodels-0.1.2 examples/rspec_and_capybara/spec/google_search_spec.rb
pagemodels-0.1.1 examples/rspec_and_capybara/spec/google_search_spec.rb
pagemodels-0.1.0 examples/rspec_and_capybara/spec/google_search_spec.rb