You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
619 B
Ruby
19 lines
619 B
Ruby
copy_file "test/spec/capybara_helper.rb"
|
|
copy_file "test/spec/mailer_helper.rb"
|
|
empty_directory_with_keep_file "spec/mailers"
|
|
empty_directory_with_keep_file "spec/unit"
|
|
empty_directory_with_keep_file "spec/requests"
|
|
|
|
# gsub_file "test/application_system_test_case.rb", /^ driven_by :selenium.*$/, <<~RUBY
|
|
# driven_by :selenium,
|
|
# using: (ENV["DISABLE_HEADLESS_CHROME"].present? ? :chrome : :headless_chrome),
|
|
# screen_size: [1400, 1400] do |options|
|
|
# options.add_argument("no-sandbox")
|
|
# end
|
|
|
|
# def setup
|
|
# Capybara.server = :puma, { Silent: true }
|
|
# super
|
|
# end
|
|
# RUBY
|