Skip to content
This repository
Browse code

Added extra exceptions and removed all-exclude.txt~ generator since t…

…hat mspec functionality was removed a month ago w/ no replacement
  • Loading branch information...
commit 4d5a52d5377f56deadb1fe15266990d8c0e5034d 1 parent 59a2bf2
Ryan Davis authored January 22, 2008

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  .autotest
6  .autotest
@@ -19,8 +19,6 @@ class Autotest
19 19
     unless full.empty? then
20 20
       classes = full.map {|k,v| k}.flatten.uniq.sort.join(' ')
21 21
 
22  
-      system "find spec -name \*excludes.txt | xargs cat > all-exclude.txt~"
23  
-
24 22
       cmds << "#{ruby} -I#{@libs} -e \"puts 'Started autotest'; %w[#{classes}].each { |f| require f }\" | #{unit_diff}"
25 23
     end
26 24
 
@@ -33,7 +31,9 @@ class Autotest
33 31
 end
34 32
 
35 33
 Autotest.add_hook :initialize do |at|
36  
-  at.exceptions << /\.rbc$/ << /\.txt$/
  34
+  at.add_exception(/\.rbc$/)
  35
+  at.add_exception(/\.txt$/)
  36
+  at.add_exception(/fixtures/)
37 37
 
38 38
   at.add_mapping %r%^spec/.*_spec\.rb$% do |filename, _|
39 39
     filename

0 notes on commit 4d5a52d

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