Sha256: 9126ae91b2e5e5ef0c7290025c306ff258c89bc9b0fd07ca63dbe1c877e04b9b
Contents?: true
Size: 510 Bytes
Versions: 1
Compression:
Stored size: 510 Bytes
Contents
require "spec_helper" describe <%= name.capitalize %> do let(:browser) { WatirSession.browser } it "starts a driver" do expect(browser.window).to exist end it "submits a search" do WatirDrops::PageObject.browser = Watir::Browser.new search_data = <%= name.capitalize %>::Model::Search.new search_page = <%= name.capitalize %>::Home.visit search_page.search(search_data) expect(<%= name.capitalize %>::Results.new.first_result).to include search_data.first_result end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watir_framework-0.1.3 | generators/new_project/templates/spec/name_spec.rb.erb |