Permalink
Browse files

Excluding spec folder from rcov metrics

  • Loading branch information...
1 parent bcaf04c commit 7bfde3bcf89159e2e417bc73a6998f062635114d @reu reu committed May 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rspec/rails/tasks/rspec.rake
@@ -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

0 comments on commit 7bfde3b

Please sign in to comment.