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