mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-23 16:44:04 -05:00
12 lines
291 B
Ruby
12 lines
291 B
Ruby
|
# 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
|