Permalink
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 618 Bytes
guard 'rspec', :all_on_start => false, :all_after_pass => false, :notification => false, :version => 2 do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end
guard 'cucumber', :cli => '--no-profile --color --tags ~@really_long_process', :notification => false, :all_on_pass => false, :all_on_start => false do
watch(%r{^features/.+\.feature$})
watch(%r{^features/support/.+$}) { 'features' }
watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
end