Sha256: d502e8482bba15b1e30c95ec2022e6b2e583d0c8b2d685154f77a25226addb51

Contents?: true

Size: 372 Bytes

Versions: 4

Compression:

Stored size: 372 Bytes

Contents

require_relative "base"

module Bulldozer
  class JsDriverGenerator < Generators::Base
    def add_gems
      gem "capybara-selenium", group: :test
      gem "chromedriver-helper", group: :test
      Bundler.with_clean_env { run "bundle install" }
    end

    def configure_chromedriver
      copy_file "chromedriver.rb", "spec/support/chromedriver.rb"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bulldozer-1.6.3 lib/bulldozer/generators/js_driver_generator.rb
bulldozer-1.6.2 lib/bulldozer/generators/js_driver_generator.rb
bulldozer-1.6.1 lib/bulldozer/generators/js_driver_generator.rb
bulldozer-1.6.0 lib/bulldozer/generators/js_driver_generator.rb