completing test coverage

This commit is contained in:
2016-09-18 11:16:35 -05:00
parent 12332cc6bf
commit 4d89a5ecc3
7 changed files with 88 additions and 66 deletions

View File

@ -70,12 +70,12 @@ guard :minitest, spring: "bin/rails test", all_after_pass: true do
end
# ESLint
guard :shell, all_on_start: true do
watch %r{app/assets/javascripts/*/.*} do |file|
system %(echo "ESLint:\033[32m #{file[0]}\033[0m")
system %(eslint #{file[0]})
end
end
# guard :shell, all_on_start: true do
# watch %r{app/assets/javascripts/*/.*} do |file|
# system %(echo "ESLint:\033[32m #{file[0]}\033[0m")
# system %(eslint #{file[0]})
# end
# end
guard :rubocop, cli: %w(-D -S) do
watch(/.+\.rb$/)