Skip to content
Newer
Older
100644 19 lines (17 sloc) 935 Bytes
50a7ce2 @ugisozols Revisit Guardfile:
ugisozols authored
1 guard 'spork', :wait => 60, :cucumber => false, :rspec_env => { 'RAILS_ENV' => 'test' } do
2 watch('config/application.rb')
3 watch('config/environment.rb')
4 watch(%r{^config/environments/.+\.rb$})
5 watch(%r{^config/initializers/.+\.rb$})
6 watch('spec/spec_helper.rb')
7 end
8
d0c249a @bobbus Added i18n support to models through globalize3.
bobbus authored
9 guard 'rspec', :version => 2, :cli => "--color --drb" do
21b19db refactor engine testing scenario
Jamie Winsor authored
10 watch(%r{^spec/.+_spec\.rb$})
11 watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
12 watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
50a7ce2 @ugisozols Revisit Guardfile:
ugisozols authored
13 watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/controllers/#{m[1]}_#{m[2]}_spec.rb", "spec/requests/#{m[1]}_spec.rb"] }
21b19db refactor engine testing scenario
Jamie Winsor authored
14 watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
15 watch('spec/spec_helper.rb') { "spec" }
16 # Capybara request specs
17 watch(%r{^app/views/(.+)/.*\.(erb|haml)$}) { |m| "spec/requests/#{m[1]}_spec.rb" }
18 end
Something went wrong with that request. Please try again.