Skip to content

Commit

Permalink
Add guard for specs.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbytables committed Sep 28, 2012
1 parent bf4ad23 commit db03976
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Guardfile
@@ -0,0 +1,9 @@
# A sample Guardfile
# More info at https://github.com/guard/guard#readme

guard 'rspec', :version => 2 do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/table_cloth/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end

1 change: 1 addition & 0 deletions table_cloth.gemspec
Expand Up @@ -21,6 +21,7 @@ Gem::Specification.new do |gem|
gem.add_development_dependency('awesome_print')
gem.add_development_dependency('nokogiri')
gem.add_development_dependency('pry')
gem.add_development_dependency('guard-rspec')

gem.add_dependency('actionpack', '~> 3.2')
end

0 comments on commit db03976

Please sign in to comment.