Permalink
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 326 Bytes
guard 'rspec', cmd: 'bundle exec rspec', failed_mode: :none, all_after_pass: true, all_on_start: true do
# Specs
watch(%r(^spec/.+_spec\.rb$))
watch('spec/spec_helper.rb') { 'spec' }
watch(%r(^spec/support/(.+)\.rb$)) { 'spec' }
# Files
watch(%r(^lib/(.+)\.rb$)) { |m| "spec/#{m[1]}_spec.rb" }
end