Guardfile 274 B

123456789
  1. # A sample Guardfile
  2. # More info at https://github.com/guard/guard#readme
  3. guard 'rspec', :cli => "--colour --format nested" do
  4. watch(%r{^spec/.+_spec\.rb$})
  5. watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
  6. watch('spec/spec_helper.rb') { "spec" }
  7. end