Minor rewrite.

This commit is contained in:
Glenn Y. Rolland 2015-08-14 08:48:42 +02:00
parent f6d90e96f3
commit 7e09a8f437

View file

@ -15,7 +15,7 @@
#
# and, you'll have to watch "config/Guardfile" instead of "Guardfile"
#
guard :minitest, :spring => false do
guard :minitest, spring: false do
watch(%r{^lib/(.+)\.rb$}) do |m|
name = m[1].split('/')[1..-1].join('_')
"spec/#{name}_spec.rb"