Update Guardfile

This commit is contained in:
Thibault Jouan 2014-04-01 10:24:57 +00:00
parent 92ac87c54e
commit 712e9501a2

View File

@ -1,4 +1,4 @@
guard 'spork', :cucumber => false, :rspec_env => { 'RAILS_ENV' => 'test' } do guard 'spork', :rspec_env => { 'RAILS_ENV' => 'test' } do
watch('config/application.rb') watch('config/application.rb')
watch('config/environment.rb') watch('config/environment.rb')
watch('config/routes.rb') watch('config/routes.rb')
@ -8,7 +8,7 @@ guard 'spork', :cucumber => false, :rspec_env => { 'RAILS_ENV' => 'test' } do
watch(%r{^spec/support/.+\.rb$}) watch(%r{^spec/support/.+\.rb$})
end end
guard 'rspec', :cli => '--drb', :notification => false do guard 'rspec', :cmd => 'bundle exec rspec --drb -f doc' do
watch(%r{^spec/.+_spec\.rb$}) watch(%r{^spec/.+_spec\.rb$})
watch('spec/spec_helper.rb') { 'spec' } watch('spec/spec_helper.rb') { 'spec' }