public
Description: The facebooker Rails plugin
Homepage: http://facebooker.rubyforge.org
Clone URL: git://github.com/mmangino/facebooker.git
facebooker / .autotest
100644 16 lines (12 sloc) 0.359 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Autotest.add_hook(:initialize) do |at|
  at.clear_mappings
  at.find_directories = %w(lib test)
 
  at.add_exception("test/test_helper.rb")
  at.add_exception("test/rails_test_helper.rb")
 
  at.add_mapping(/^lib\/.*\.rb$/) do |file, _|
    at.files_matching(/^test\/.*_test\.rb$/)
  end
 
  at.add_mapping(/^test\/.*_test\.rb$/) do |file, _|
    file
  end
end