templates/minitest_spec/Guardfile in shuhari-0.1.0 vs templates/minitest_spec/Guardfile in shuhari-0.1.1
- old
+ new
@@ -1,5 +1,5 @@
-guard 'minitest' do
- watch(%r|^spec/(.*)_spec\.rb|)
- watch(%r|^lib/(.*)\.rb|) { |m| "spec/#{m[1]}_spec.rb" }
- watch(%r|^spec/spec_helper\.rb|) { "spec" }
+guard :minitest do
+ watch(%r{^spec/(.*)_spec\.rb})
+ watch(%r{^lib/(.+)\.rb}) { |m| "spec/#{m[1]}_spec.rb" }
+ watch(%r{^spec/spec_helper\.rb}) { 'spec' }
end