1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-22 10:38:30 +09:00
YuruToot/lib/tasks/spec.rake

12 lines
291 B
Ruby
Raw Normal View History

2023-07-29 06:09:49 +09:00
# 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