diff options
| author | Matt Robinson <matt@puppetlabs.com> | 2011-02-14 11:28:32 -0800 |
|---|---|---|
| committer | Matt Robinson <matt@puppetlabs.com> | 2011-02-14 11:28:32 -0800 |
| commit | b25d9e42808112c6a0a3f5c6bbe7e8a05b02a6d2 (patch) | |
| tree | 563674c935aedcc807b407b67ba43903f29c4f24 /Rakefile | |
| parent | e1b7db490212b1bdf281cfbb3fa5b7e467995753 (diff) | |
| download | puppet-b25d9e42808112c6a0a3f5c6bbe7e8a05b02a6d2.tar.gz puppet-b25d9e42808112c6a0a3f5c6bbe7e8a05b02a6d2.tar.xz puppet-b25d9e42808112c6a0a3f5c6bbe7e8a05b02a6d2.zip | |
maint: make rspec exit with status 1 when there are failures
Hudson wasn't notifying us when there was a test failure because
fail_on_error was set to false. This appears to be because of a
misconception that setting this to true caused the specs to run slower.
That is not the case.
Paired-with: Nick Lewis
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ task :puppetpackages => [:create_gem, :package] RSpec::Core::RakeTask.new do |t| t.pattern ='spec/{unit,integration}/**/*.rb' - t.fail_on_error = false + t.fail_on_error = true end desc "Run the unit tests" |
