discourse/lib/tasks/rspec.rake
2013-05-21 10:08:33 +10:00

6 lines
118 B
Ruby

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