Skip to content

Instantly share code, notes, and snippets.

@alanmaciel
Created October 31, 2012 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanmaciel/3990056 to your computer and use it in GitHub Desktop.
Save alanmaciel/3990056 to your computer and use it in GitHub Desktop.
Guardfile updated for Spork
require 'active_support/core_ext'
guard 'spork', :rspec_env => { 'RAILS_ENV' => 'test' } do
watch('config/application.rb')
watch('config/environment.rb')
watch(%r{^config/environments/.+\.rb$})
watch(%r{^config/initializers/.+\.rb$})
watch('Gemfile')
watch('Gemfile.lock')
watch('spec/spec_helper.rb')
watch('test/test_helper.rb')
watch('spec/support/')
end
guard 'rspec', :version => 2, :all_after_pass => false, :cli => '--drb' do
.
.
.
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment