Add guard-rspec to make running the specs a little faster

This commit is contained in:
R. Tyler Croy 2013-02-12 07:09:39 -08:00
parent bc24665ba3
commit 339492bd1c
2 changed files with 10 additions and 0 deletions

View File

@ -7,4 +7,5 @@ gemspec
group :development do
gem 'rake'
gem 'rspec', '~> 2.11'
gem 'guard-rspec'
end

9
Guardfile Normal file
View File

@ -0,0 +1,9 @@
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'rspec' do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end