Sha256: 40a9e0cc6b05eaff6462e0c3daa02e5d35a24492494ee3f69cb3102983334474

Contents?: true

Size: 510 Bytes

Versions: 3

Compression:

Stored size: 510 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

3 entries across 3 versions & 1 rubygems

Version Path
factory_girl-2.2.0 .autotest
factory_girl-2.1.2 .autotest
factory_girl-2.1.0 .autotest