Trigger all listener specs when listener_helper.rb is changed.

This commit is contained in:
Michael Kessler 2011-09-28 13:34:53 +02:00
parent b00c850ef8
commit 83b1c9f787

View File

@ -1,8 +1,9 @@
group :specs do
guard :rspec, :cli => '--format doc' do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/support/listener_helper.rb') { Dir.glob("spec/guard/listeners/*") }
watch('spec/spec_helper.rb') { "spec" }
end
end