Sha256: 8cf4a9ecde6e678b5fc08453e21a0c3da6cce9dfe2fc6e7eb0cfea98e2caaa94

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 Bytes

Contents

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

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

RSpec.configure do |config|
  config.before(:each) do
    @browser = Watir::Browser.new
    WatirDrops::PageObject.browser = @browser
  end

  config.after(:each) do
    @browser.quit
  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/spec_helper.rb.tt