Created
August 31, 2011 16:53
-
-
Save zerowidth/1184044 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# simple guardfile for vital testing workshop. | |
# | |
# $ gem install guard guard-rspec growl_notify | |
# | |
# put your code in lib/thing.rb | |
# and the specs in spec/thing_spec.rb | |
# | |
# then | |
# | |
# $ guard | |
# | |
guard 'rspec', :version => 2, :cli => "--colour --format doc" do | |
watch(%r{^spec/.+_spec\.rb$}) | |
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment