Sha256: b3d929d4583272aac792311bcec7853a3e4efa06000e12e14af3672dc30b62e9
Contents?: true
Size: 1021 Bytes
Versions: 39
Compression:
Stored size: 1021 Bytes
Contents
# A sample Guardfile # More info at https://github.com/guard/guard#readme guard 'spork', :notification => false, :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') { :rspec } watch('test/test_helper.rb') { :test_unit } watch(%r{features/support/}) { :cucumber } end guard 'rspec', :notification => false, :cli => "--color --drb", :version => 2, :all_after_pass => false do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { "spec" } # Rails example watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/controllers/#{m[1]}_spec.rb"] } watch('app/controllers/application_controller.rb') { "spec/controllers" } end
Version data entries
39 entries across 39 versions & 1 rubygems