Sha256: b94233265a5df3dc159c7c13c9c7e2c74a0962edd5d3a7b8840ba490fdc3ffa4

Contents?: true

Size: 1.04 KB

Versions: 10

Compression:

Stored size: 1.04 KB

Contents

# What framework to use? Possible values are:
#   * watir
#   * firewatir
#   * watir-webdriver/ie
#   * watir-webdriver/firefox
#   * watir-webdriver/chrome
<%=
  load_cmd = ""
  load_cmd += "# " if load_common
  load_cmd += "WatirSplash::Util.framework = \"#{framework}\""
%> 

# Config for your application
module Config
  module <%= name %>
    # URL, which will be opened before every test
    #
    # Replace it with the URL of your application under test
    # or if ui-test-common is used then
    # URL = Config.full_url("/relative/url/index.html")
    URL = <%= formatted_url %>
  end
end

# A global configuration for specs in this project, which will include by default
# an <%= name %>Helper module and open Config::<%= name %>::URL with
# the browser.
#
# You can read more about RSpec-s before and after syntax from:
# http://relishapp.com/rspec/rspec-core/dir/hooks/before-and-after-hooks
RSpec.configure do |config|
  config.include(<%= name %>Helper)
  config.before(:all) {goto Config::<%= name %>::URL}
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
watirsplash-1.4.3 lib/watirsplash/generators/templates/new_project/config.rb.tt
watirsplash-1.4.2 lib/watirsplash/generators/templates/new_project/config.rb.tt
watirsplash-1.4.1 lib/watirsplash/generators/templates/new_project/config.rb.tt
watirsplash-1.4.0 lib/watirsplash/generators/templates/new_project/config.rb.tt
watirsplash-1.3.0 lib/watirsplash/generators/templates/new_project/config.rb.tt
watirsplash-1.2.1 lib/watirsplash/generators/templates/new_project/config.rb.tt
watirsplash-1.2.0 lib/watirsplash/generators/templates/new_project/config.rb.tt
watirsplash-1.1.2 lib/watirsplash/generators/templates/new_project/config.rb.tt
watirsplash-1.1.1 lib/watirsplash/generators/templates/new_project/config.rb.tt
watirsplash-1.1.0 lib/watirsplash/generators/templates/new_project/config.rb.tt