Fix coding standards in guard config

This commit is contained in:
Thibault Jouan 2015-04-30 08:14:28 +00:00
parent d910c46dc2
commit 737ac1f10a

View File

@ -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' }