diff options
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -6,5 +6,11 @@ Spec::Rake::SpecTask.new do |t| t.spec_files = FileList['spec/**/*_spec.rb'] end +Spec::Rake::SpecTask.new(:coverage) do |t| + t.spec_files = FileList['spec/**/*_spec.rb'] + t.rcov = true + t.rcov_opts = ['-x', 'spec,gems'] +end + desc "Default task is to run specs" task :default => :spec
\ No newline at end of file |