
Update the default task to clean fixtures, and don't run coverage report (asked by @EmilienM). New tasks: rake => run all tests and clean fixtures (alias on :test) rake test => run all tests and clean fixtures rake test_keep => run all tests and don't clean fixtures COV=y rake cov => run all tests, run coverage repo, and don't clean fixtures Refs: #372
6 lines
87 B
Ruby
6 lines
87 B
Ruby
require 'spec_helper'
|
|
|
|
if ENV['COV']
|
|
at_exit { RSpec::Puppet::Coverage.report! }
|
|
end
|