Sha256: 306ec7614f5dd23e163ff81ad637a95c7eb9d96a4927bc8578d2b6d7d06e16fc

Contents?: true

Size: 351 Bytes

Versions: 5

Compression:

Stored size: 351 Bytes

Contents

Autotest.add_discovery { 'rspec2' }

Autotest.add_hook :initialize do |at|
  at.clear_mappings
  ['.git', 'spec/dummy/log'].each { |exception| at.add_exception(exception) }

  at.add_mapping(%r%^lib/(.*)\.rb$%) do |_, m|
    at.files_matching %r%^spec/#{m[1]}_spec\.rb$%
  end

  at.add_mapping(%r%^spec/.*\_spec\.rb$%) { |filename, _| filename }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
morpheus-0.5.0 .autotest
morpheus-0.4.0 .autotest
morpheus-0.3.9 .autotest
morpheus-0.3.8 .autotest
morpheus-0.3.7 .autotest