summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-05-26 17:31:01 -0600
committermo khan <mo@mokhan.ca>2014-05-26 17:31:49 -0600
commit5c927a08a29db4898546e66144052b4b98be7e94 (patch)
treed7b38bf0661ff62cededcffcec27d03abdfb62b7
parentd0650177f46ebce1f8f3ab97956bd1c105db4b1d (diff)
run all specs when file is modified.main
-rw-r--r--Guardfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Guardfile b/Guardfile
index 4a001eb..6d7c146 100644
--- a/Guardfile
+++ b/Guardfile
@@ -3,7 +3,7 @@
guard :rspec, cmd: 'bundle exec rspec' do
watch(%r{^spec/.+_spec\.rb$})
- watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
+ watch(%r{^lib/(.+)\.rb$}) { "spec" }
watch('spec/spec_helper.rb') { "spec" }
end