templates/minitest/Guardfile in shuhari-0.1.0 vs templates/minitest/Guardfile in shuhari-0.1.1

- old
+ new

@@ -1,5 +1,5 @@ -guard 'minitest' do - watch(%r|^test/test_(.*)\.rb|) - watch(%r|^lib/(.*)\.rb|) { |m| "test/test_#{m[1]}.rb" } - watch(%r|^test/test_helper\.rb|) { "test" } +guard :minitest do + watch(%r{^test/(.*)\/?test_(.*)\.rb}) + watch(%r{^lib/(.*/)?([^/]+)\.rb}) { |m| "test/#{m[1]}test_#{m[2]}.rb" } + watch(%r{^test/test_helper\.rb}) { 'test' } end