Browse files

Configure Guard to run all specs when the RSpec configuration changes

  • Loading branch information...
1 parent ed0edef commit 6f9acf61a171dc2403a0b1ae4b075bc07e5e172f @njonsson committed Jan 12, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 Guardfile
View
1 Guardfile
@@ -15,6 +15,7 @@ guard :rspec, :cli => '--debugger' do
watch %r{^spec/.+_spec\.rb$}
# Run all specs when the RSpec configuration changes.
+ watch( '.rspec' ) { 'spec' }
watch( 'spec/spec_helper.rb' ) { 'spec' }
# Run all specs when the bundle changes.

0 comments on commit 6f9acf6

Please sign in to comment.