summaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2011-02-14 11:28:32 -0800
committerMatt Robinson <matt@puppetlabs.com>2011-02-14 11:28:32 -0800
commitb25d9e42808112c6a0a3f5c6bbe7e8a05b02a6d2 (patch)
tree563674c935aedcc807b407b67ba43903f29c4f24 /Rakefile
parente1b7db490212b1bdf281cfbb3fa5b7e467995753 (diff)
downloadpuppet-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--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 38cfec6ce..6cc53fe18 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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"