Add end-to-end (system) tests (#25461)
This commit is contained in:
parent
8d5d707cc1
commit
4d1b67f664
10 changed files with 298 additions and 5 deletions
11
lib/tasks/spec.rake
Normal file
11
lib/tasks/spec.rake
Normal file
|
@ -0,0 +1,11 @@
|
|||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue