master/Guardfile
2010-11-30 22:46:52 +01:00

5 lines
180 B
Ruby

guard('rspec', :version => 2) do
watch(%|^spec/(.*)_spec\.rb|)
watch(%|^lib/(.*)\.rb|) { |m| "spec/#{m[1]}_spec.rb" }
watch(%|^spec/spec_helper\.rb|) { "spec" }
end