You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
291 B
12 lines
291 B
1 year ago
|
# frozen_string_literal: true
|
||
|
|
||
|
if Rake::Task.task_defined?('spec:system')
|
||
|
namespace :spec do
|
||
|
task :enable_system_specs do # rubocop:disable Rails/RakeEnvironment
|
||
|
ENV['RUN_SYSTEM_SPECS'] = 'true'
|
||
|
end
|
||
|
end
|
||
|
|
||
|
Rake::Task['spec:system'].enhance ['spec:enable_system_specs']
|
||
|
end
|