mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
501 B
15 lines
501 B
# autotest config for rspec
|
|
# see: https://github.com/rspec/rspec/wiki/autotest
|
|
Autotest.add_hook(:initialize) {|at|
|
|
at.add_exception %r{^\.git} # ignore Version Control System
|
|
at.add_exception %r{^pkg} # ignore gem pkg dir
|
|
# at.add_exception %r{^./tmp} # ignore temp files, lest autotest will run again, and again...
|
|
# at.clear_mappings # take out the default (test/test*rb)
|
|
## include specs
|
|
at.add_mapping(%r{^lib/.*\.rb$}) {|f, _|
|
|
Dir['spec/**/*_spec.rb']
|
|
}
|
|
nil
|
|
}
|
|
|