Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'rake'
- require 'spec/rake/spectask'
- task :default => "rspec_with_rcov"
- Spec::Rake::SpecTask.new('rspec_with_rcov') do |t|
- t.spec_files = FileList['**/*_spec.rb']
- t.libs << "./"
- t.rcov = true
- t.spec_opts = ['--format', 'nested', '--color']
- t.rcov_opts = ['--exclude', 'spec']
- end
Add Comment
Please, Sign In to add comment