discourse/lib/tasks/rspec.rake

6 lines
118 B
Ruby
Raw Normal View History

2013-05-20 20:08:14 -04:00
if Rails.env.development? || Rails.env.test?
require 'rspec/core/rake_task'
2013-05-20 20:08:14 -04:00
RSpec::Core::RakeTask.new(:spec)
end