view .svn/pristine/bd/bd644e6d1539b3037b05096fa2a2105f3d200ef8.svn-base @ 1625:808a40a7cac7 live

Have a go at fixing #570 Can't delete downloadable file from version in project with no issue tracker
author Chris Cannam
date Thu, 07 Feb 2019 13:48:00 +0000
parents 038ba2d95de8
children
line wrap: on
line source
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