Skip to content
Browse files

Adding autospec

  • Loading branch information...
1 parent 5954837 commit 3dfb7c82ebe3da1f941ec78a215f89370f2db464 Russell committed Jan 18, 2011
Showing with 12 additions and 0 deletions.
  1. +9 −0 .autospec
  2. +1 −0 Gemfile
  3. +2 −0 Gemfile.lock
View
9 .autospec
@@ -0,0 +1,9 @@
+Autotest.add_hook(:initialize) do |at|
+ at.add_exception %r{^\.git} # ignore Version Control System
+ at.add_exception %r{^./tmp} # ignore temp files, lest autotest will run again, and again...
+ at.add_exception "rerun.txt"
+ at.add_mapping(%r{^lib/.*\.rb$}) do |f, _|
+ Dir['spec/**/*.rb']
+ end
+ nil
+end
View
1 Gemfile
@@ -54,6 +54,7 @@ group :test, :cucumber do
gem "faker"
gem "pickle"
gem "launchy"
+ gem "ZenTest"
end
group :production do
View
2 Gemfile.lock
@@ -47,6 +47,7 @@ GEM
remote: http://rubygems.org/
remote: http://gems.github.com/
specs:
+ ZenTest (4.4.2)
actionmailer (2.3.4)
actionpack (= 2.3.4)
actionpack (2.3.4)
@@ -180,6 +181,7 @@ PLATFORMS
ruby
DEPENDENCIES
+ ZenTest
awesome_print
bitly (= 0.5.1)
builder (= 2.1.2)

0 comments on commit 3dfb7c8

Please sign in to comment.
Something went wrong with that request. Please try again.