Skip to content

Commit

Permalink
Add Guardfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnichol committed Mar 2, 2014
1 parent 4131f6d commit 79562bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Guardfile
@@ -0,0 +1,5 @@
guard :rspec, spec_paths: ["test/unit"] do
watch(%r{^test/unit/.+_spec\.rb$})
watch(%r{^(libraries|providers|recipes|resources)/(.+)\.rb$}) { |m| "test/unit/#{m[1]}/#{m[2]}_spec.rb" }
watch("test/unit/spec_helper.rb") { "test/unit" }
end

0 comments on commit 79562bb

Please sign in to comment.