Show backtrace for failures under guard

This commit is contained in:
Markus Schirp 2013-06-21 15:02:32 +02:00
parent a6c6f02f17
commit 8df95da0c6

View file

@ -4,7 +4,7 @@ guard :bundler do
watch('Gemfile')
end
guard :rspec, :cli => '--fail-fast', :all_on_start => false, :all_after_pass => false do
guard :rspec, :cli => '--fail-fast --backtrace', :all_on_start => false, :all_after_pass => false do
# run all specs if the spec_helper or supporting files files are modified
watch('spec/spec_helper.rb') { 'spec/unit' }
watch(%r{\Aspec/(?:lib|support|shared)/.+\.rb\z}) { 'spec/unit' }