Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added fixture mapping

  • Loading branch information...
commit c5b3580738b3e214b812a120b0f28f91a4893671 1 parent 3766b3e
Ryan Davis authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 .autotest
5 .autotest
View
@@ -49,7 +49,6 @@ Autotest.add_hook :initialize do |at|
at.sleep = 2
at.add_exception(/\.rbc$/)
- at.add_exception(/fixtures/)
at.add_exception(/shotgun\/external_libs/)
at.add_exception(/README/)
at.add_exception(/spec.data.critical.txt/)
@@ -73,8 +72,8 @@ Autotest.add_hook :initialize do |at|
Dir["spec/#{m[1]}_spec.rb"]
end
- at.add_mapping %r%^spec/(.*)/shared/% do |_, m|
- at.files_matching(%r%^spec/#{m[1]}/.*_spec.rb$%)
+ at.add_mapping %r%^spec/.*([^/]+)/(shared|fixtures)/% do |_, m|
+ at.files_matching(%r%^spec/.*#{m[1]}/.*_spec.rb$%)
end
at.add_mapping %r%^spec/spec_helper.rb% do
Please sign in to comment.
Something went wrong with that request. Please try again.