Permalink
Browse files

Add guard for specs.

  • Loading branch information...
1 parent bf4ad23 commit db03976f724a5c50b0ba1fa6fae3e621936d14a1 @bobbytables committed Sep 28, 2012
Showing with 10 additions and 0 deletions.
  1. +9 −0 Guardfile
  2. +1 −0 table_cloth.gemspec
View
@@ -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
+
View
@@ -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.