Mercurial > hg > soundsoftware-site
view lib/plugins/awesome_nested_set/.autotest @ 1441:8d721cac2925 biblio_alt_search_auth
Addresses Bug #763 - patched the User class adding a new scope (name_like), that doesn't use the email address to search for a user.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 11 Oct 2013 13:49:02 +0100 |
parents | 433d4f72a19b |
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