spec.rake 291 B

1234567891011
  1. # frozen_string_literal: true
  2. if Rake::Task.task_defined?('spec:system')
  3. namespace :spec do
  4. task :enable_system_specs do # rubocop:disable Rails/RakeEnvironment
  5. ENV['RUN_SYSTEM_SPECS'] = 'true'
  6. end
  7. end
  8. Rake::Task['spec:system'].enhance ['spec:enable_system_specs']
  9. end