Sha256: 3edeec185c3e1930829f5ffbf8194e2b8071ed891de3ecde3d75e355eb355d9b

Contents?: true

Size: 301 Bytes

Versions: 4

Compression:

Stored size: 301 Bytes

Contents

Autotest.add_hook :initialize do |at|
  at.clear_mappings
  
  at.add_mapping(%r%^spec/(.*)_spec.rb$%) {|filename, _| filename }
  at.add_mapping(%r%^lib/(.*).rb$%) {|_, match| "spec/#{match[1]}_spec.rb" }
  at.add_mapping(%r%^spec/spec_helper.rb$%) { at.files_matching(%r%^spec/(.*)_spec.rb$%) }
end

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
elight-machinist-1.0.0 .autotest
elight-machinist-1.0.1 .autotest
JamieFlournoy-machinist-1.0.6 .autotest
machinist-1.0.6 .autotest