Guest User

Untitled

a guest
May 26th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. require 'rake'
  2. require 'spec/rake/spectask'
  3.  
  4. task :default => "rspec_with_rcov"
  5.  
  6. Spec::Rake::SpecTask.new('rspec_with_rcov') do |t|
  7. t.spec_files = FileList['**/*_spec.rb']
  8. t.libs << "./"
  9. t.rcov = true
  10. t.spec_opts = ['--format', 'nested', '--color']
  11. t.rcov_opts = ['--exclude', 'spec']
  12. end
Add Comment
Please, Sign In to add comment