Sha256: 2f253e61bac298ad4c279877c61530d6496ae83758f74e8e492f71169711206d
Contents?: true
Size: 456 Bytes
Versions: 8
Compression:
Stored size: 456 Bytes
Contents
# frozen_string_literal: true RSpec.configure do |c| Capybara.disable_animation = true c.before(:example, type: :system) do driven_by ENV['DEBUG_CAPYBARA'] ? :selenium_chrome : :selenium_chrome_headless end c.when_first_matching_example_defined(type: :system) do c.before :suite do # Preload assets if Rails.application.respond_to?(:precompiled_assets) Rails.application.precompiled_assets end end end end
Version data entries
8 entries across 8 versions & 1 rubygems