Sha256: 0ec4513fabdd1157c8b8e454ba930b55927b63db4e909cceed86459d964bd9bd

Contents?: true

Size: 812 Bytes

Versions: 10

Compression:

Stored size: 812 Bytes

Contents

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

=begin
  Global configuration constants
  For example, you can use the URL constant below from your projects' config.rb like this:

  module Config
    module YourApplication
      URL = Config.full_url("my_subpage/index.html") # => "http://localhost/my_subpage/index.html
    end
  end
=end

require "uri"

module Config
  module GlobalApplication
    URL = <%= %Q["#{url}"] %>
  end

  def Config.full_url relative_url
    URI.join(GlobalApplication::URL, relative_url).to_s
  end
end

RSpec.configure do |config|
  config.include(CommonApplicationHelper)
end

Version data entries

10 entries across 10 versions & 1 rubygems

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