Sha256: f76aa67cb7af24d1cec0c369d3652e5c0775075da48b56dcaf6617909fd275fa
Contents?: true
Size: 329 Bytes
Versions: 11
Compression:
Stored size: 329 Bytes
Contents
Autotest.add_hook :initialize do |at| root = File.dirname(__FILE__) at.add_mapping(%r%^lib/(.*)\.rb$%) { |_, m| ["spec/#{m[1]}_spec.rb"] } at.add_mapping(%r%^spec/.*_spec\.rb$%) { |filename| filename } at.add_mapping(%r%^spec/support/.*\.rb$%) { |_| Dir[File.join(root, 'spec/**/*_spec.rb')] } nil end
Version data entries
11 entries across 11 versions & 2 rubygems