discourse/lib/tasks/rspec.rake

6 lines
118 B
Ruby
Raw Normal View History

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