1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/Rakefile

15 lines
338 B
Text
Raw Normal View History

2007-12-30 14:35:44 -05:00
require 'rubygems'
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
end
2008-01-14 11:09:46 -05:00
Spec::Rake::SpecTask.new(:coverage) do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
t.rcov = true
t.rcov_opts = ['-x', 'spec,gems']
end
2007-12-30 14:35:44 -05:00
desc "Default task is to run specs"
task :default => :spec