Sha256: 19875fe783527a5887c60a4cecb01dc46a7b27567dc222a08bc979d96039d6d0

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

require "spec_helper"

describe <%= name.split('_').map(&:capitalize).join %> do
  it "submits a search" do
    search_data = <%= name.split('_').map(&:capitalize).join %>::Model::Search.new
    search_page = <%= name.split('_').map(&:capitalize).join %>::Home.visit

    search_page.search(search_data)

    expect(<%= name.split('_').map(&:capitalize).join %>::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_install-0.2.1 lib/watir_install/generators/new_project/spec/search_spec.rb.tt