Skip to content
This repository
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 24 lines (22 sloc) 0.744 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
group :unit do
  guard 'rspec', :spec_paths => ["spec/keen"] do
    watch('spec/spec_helper.rb') { "spec" }
    watch('spec/keen/spec_helper.rb') { "spec" }
    watch(%r{^spec/keen/.+_spec\.rb$})
    watch(%r{^lib/(.+)\.rb$}) { |m| "spec/keen/#{m[1]}_spec.rb" }
  end
end

group :integration do
  guard 'rspec', :spec_paths => ["spec/integration"] do
    watch('spec/spec_helper.rb') { "spec" }
    watch('spec/integration/spec_helper.rb') { "spec" }
    watch(%r{^spec/integration/.+_spec\.rb$})
  end
end

group :synchrony do
  guard 'rspec', :spec_paths => ["spec/synchrony"] do
    watch('spec/spec_helper.rb') { "spec" }
    watch('spec/synchrony/spec_helper.rb') { "spec" }
    watch(%r{^spec/synchrony/.+_spec\.rb$})
  end
end
Something went wrong with that request. Please try again.