Guardfile 272 B

12345678
  1. # More info at https://github.com/guard/guard#readme
  2. guard 'rspec', :all_on_start => false, :version => 2 do
  3. watch(%r{^spec/.+_spec\.rb$})
  4. watch(%r{^lib/active_admin/(.+)\.rb$}) { |m| "spec/unit/#{m[1]}_spec.rb" }
  5. watch('spec/spec_helper.rb') { "spec/" }
  6. end