Sha256: b145e80bb88f8cd68d9af2afeb30af811eaaedc90ea12e510e5a79e67c4c9df2
Contents?: true
Size: 433 Bytes
Versions: 2
Compression:
Stored size: 433 Bytes
Contents
require "spec_helper" describe <%= name.split('_').map(&:capitalize).join %> do it "submits a search" do search_data = <%= name.split('_').map(&:capitalize).join %>::Data::Search.new search_page = <%= name.split('_').map(&:capitalize).join %>::Home.visit search_page.search(search_data) expect(<%= name.split('_').map(&:capitalize).join %>::Results.new.title?(search_data.wikipedia_result)).to eq true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
watir_install-0.3.1 | lib/watir_install/generators/example/spec/search_spec.rb.tt |
watir_install-0.3.0 | lib/watir_install/generators/example/spec/search_spec.rb.tt |