File: .autotest

package info (click to toggle)
ruby-clamp 0.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 280 kB
  • ctags: 189
  • sloc: ruby: 2,071; makefile: 4
file content (9 lines) | stat: -rw-r--r-- 213 bytes parent folder | download
1
2
3
4
5
6
7
8
9
Autotest.add_hook :initialize do |at|

  at.add_exception ".git"

  at.add_mapping(%r{^lib/(.*)\.rb$}, :prepend) do |_, match|
    ["spec/unit/#{match[1]}_spec.rb"] + Dir['spec/clamp/command*_spec.rb']
  end

end