Sebastien Badia d28a4026b7 [spec] Update rake tasks (refs: #372)
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
2014-03-21 10:29:42 +01:00

6 lines
87 B
Ruby

require 'spec_helper'
if ENV['COV']
at_exit { RSpec::Puppet::Coverage.report! }
end