From cba4e4c1632dd567439ab3ecb4d64f70f3d5bb44 Mon Sep 17 00:00:00 2001 From: Michael Kessler Date: Tue, 4 Oct 2011 08:51:55 +0200 Subject: [PATCH] Add --fail-fast to RSpec configuration. --- Guardfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Guardfile b/Guardfile index a065441..443f0f5 100644 --- a/Guardfile +++ b/Guardfile @@ -1,5 +1,5 @@ group :specs do - guard :rspec, :cli => '--format doc' do + guard :rspec, :cli => '--fail-fast --format doc' do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch('spec/support/listener_helper.rb') { Dir.glob("spec/guard/listeners/*") }