discourse/lib/tasks/rspec.rake
2023-01-09 12:10:19 +00:00

8 lines
149 B
Ruby

# frozen_string_literal: true
if Rails.env.development? || Rails.env.test?
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec)
end