Sha256: fdca5f3d7d97069c998e2660330b1ac7f8a567282e4f76a7ed0edf03acfceb1d

Contents?: true

Size: 509 Bytes

Versions: 187

Compression:

Stored size: 509 Bytes

Contents

Autotest.add_hook :initialize do |at|
  at.clear_mappings

  at.add_mapping(%r{^test/.*_test\.rb$})              {|f, _| [f] }
  at.add_mapping(%r{^lib/factory_girl/(.*)\.rb$})     {|_, m| ["test/#{m[1]}_test.rb",
                                                               "test/integration_test.rb"] }
  at.add_mapping(%r{^test/(test_helper|models)\.rb$}) { at.files_matching %r{^test/.*_test\.rb$} }
  at.add_mapping(%r{^lib/.*\.rb$})                    { at.files_matching %r{^test/.*_test\.rb$} }
end

Version data entries

187 entries across 95 versions & 5 rubygems

Version Path
factory_girl-2.5.0 .autotest
factory_girl-2.4.2 .autotest
factory_girl-2.4.1 .autotest
factory_girl-2.4.0 .autotest
factory_girl-2.3.2 .autotest
factory_girl-2.3.1 .autotest
factory_girl-2.3.0 .autotest