Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed autotest mapping

  • Loading branch information...
commit e466d33d2de9abfb1402a6088dbe455d81b86c6f 1 parent b2f4b2d
@bkeepers bkeepers authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 .autotest
View
13 .autotest
@@ -0,0 +1,13 @@
+Autotest.add_hook :initialize do |at|
+ at.clear_mappings
+
+ at.add_mapping %r%^lib/(.*)\.rb$% do |_, m|
+ at.files_matching %r%^test/#{m[1]}_test.rb$%
+ end
+
+ at.add_mapping(%r%^test/.*\.rb$%) {|filename, _| filename }
+
+ at.add_mapping %r%^test/fixtures/(.*)s.yml% do |_, _|
+ at.files_matching %r%^test/.*\.rb$%
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.