Minor rewrite.
This commit is contained in:
parent
f6d90e96f3
commit
7e09a8f437
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
||||||
#
|
#
|
||||||
# and, you'll have to watch "config/Guardfile" instead of "Guardfile"
|
# 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|
|
watch(%r{^lib/(.+)\.rb$}) do |m|
|
||||||
name = m[1].split('/')[1..-1].join('_')
|
name = m[1].split('/')[1..-1].join('_')
|
||||||
"spec/#{name}_spec.rb"
|
"spec/#{name}_spec.rb"
|
||||||
|
|
Loading…
Reference in a new issue