Excluding spec folder from rcov metrics #366

Merged
merged 1 commit into from May 18, 2011
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -23,7 +23,7 @@ namespace :spec do
RSpec::Core::RakeTask.new(:rcov => spec_prereq) do |t|
t.rcov = true
t.pattern = "./spec/**/*_spec.rb"
- t.rcov_opts = '--exclude /gems/,/Library/,/usr/,lib/tasks,.bundle,config,/lib/rspec/,/lib/rspec-'
+ t.rcov_opts = '--exclude /gems/,/Library/,/usr/,lib/tasks,.bundle,config,/lib/rspec/,/lib/rspec-,spec'
end
task :statsetup do