discourse/lib/tasks/rspec.rake

6 lines
118 B
Ruby
Raw Normal View History

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