From d89e468102a8ba4093b2ec6cb660e13f85241095 Mon Sep 17 00:00:00 2001 From: Lucas Arruda Date: Mon, 15 Jan 2018 16:26:54 -0200 Subject: [PATCH] Update Minitest::Unit default Guardfile Update Minitest::Unit default Guardfile to be up to date with Rails conventions --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1672933..ea0b314 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,7 @@ Please read [guard doc](http://github.com/guard/guard#readme) for more info abou ```ruby guard :minitest do watch(%r{^test/(.*)\/?test_(.*)\.rb$}) +  watch(%r{^test/(.*)\/?_test(.*)\.rb$}) # Rails 5 auto generated test files use `*_test.rb` pattern watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" } watch(%r{^test/test_helper\.rb$}) { 'test' } end