Sha256: c782364860a1fbf181477421edca1d9145647832792eecb36dc7adec301989b0
Contents?: true
Size: 502 Bytes
Versions: 3
Compression:
Stored size: 502 Bytes
Contents
require "rails/generators" module Suspenders class JsDriverGenerator < Rails::Generators::Base source_root File.expand_path( File.join("..", "..", "..", "templates"), File.dirname(__FILE__), ) 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
3 entries across 3 versions & 1 rubygems