From 737ac1f10a419ea5ca4667f0ccb2d6959b5b1ee7 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Thu, 30 Apr 2015 08:14:28 +0000 Subject: [PATCH] Fix coding standards in guard config --- Guardfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Guardfile b/Guardfile index 2810f24..61a5767 100644 --- a/Guardfile +++ b/Guardfile @@ -1,6 +1,6 @@ directories %w[app config spec] -guard 'spork', rspec_env: { RAILS_ENV: 'test' } do +guard :spork, rspec_env: { RAILS_ENV: 'test' } do watch('config/application.rb') watch('config/environment.rb') watch('config/routes.rb') @@ -10,7 +10,7 @@ guard 'spork', rspec_env: { RAILS_ENV: 'test' } do watch(%r{^spec/support/.+\.rb$}) end -guard 'rspec', cmd: 'bundle exec rspec --drb -f doc' do +guard :rspec, cmd: 'bundle exec rspec --drb -f doc' do watch(%r{^spec/.+_spec\.rb$}) watch('spec/spec_helper.rb') { 'spec' }