Rakefile in joshbuddy-fuzzy_hash-0.0.2 vs Rakefile in joshbuddy-fuzzy_hash-0.0.3
- old
+ new
@@ -22,5 +22,12 @@
t.spec_opts << "--options" << "spec/spec.opts"
t.spec_files = FileList['spec/**/*_spec.rb']
end
end
+
+desc "Run all examples with RCov"
+Spec::Rake::SpecTask.new('spec_with_rcov') do |t|
+ t.spec_files = FileList['spec/**/*.rb']
+ t.rcov = true
+ t.rcov_opts = ['--exclude', 'spec']
+end