Permalink
Browse files

updating autotest

  • Loading branch information...
1 parent 17f247b commit be1d9407eb9a32fa88963d59b4b2f38e142e5ffe @tenderlove tenderlove committed Nov 6, 2009
Showing with 5 additions and 6 deletions.
  1. +5 −6 .autotest
View
@@ -5,6 +5,11 @@ begin
rescue LoadError
end
+Autotest.add_hook :initialize do |at|
+ at.add_exception /bundle$/
+ at.add_exception /\.git/
+end
+
Autotest.add_hook :run_command do |at|
at.unit_diff = 'cat'
if ENV['ONENINE']
@@ -19,9 +24,3 @@ Autotest.add_hook :ran_command do |at|
f.write(at.results.join)
}
end
-
-class Autotest
- def ruby
- 'ruby1.9'
- end
-end if ENV['ONENINE']

0 comments on commit be1d940

Please sign in to comment.