Sha256: 99bb312bf6ebe039fde910509af24801f3acfabf8b104ba9cf5101356c0531d8

Contents?: true

Size: 401 Bytes

Versions: 3

Compression:

Stored size: 401 Bytes

Contents

$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
require "<%= name.downcase %>"
require "watir_session"

WatirSession.start

include <%= name.split('_').map(&:capitalize).join %>

RSpec.configure do |config|
  config.before(:each) do
    WatirSession.before_each
    WatirDrops::PageObject.browser = WatirSession.browser
  end

  config.after(:each) do
    WatirSession.after_each
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
watir_framework-0.1.7 lib/generators/templates/spec/spec_helper.rb.erb
watir_framework-0.1.6 lib/generators/templates/spec/spec_helper.rb.erb
watir_framework-0.1.5 generators/new_project/templates/spec/spec_helper.rb.erb