Sha256: 596f27b7a168925da3ce7430060e4fd194bf15e2463607657c4517bf01079e23

Contents?: true

Size: 333 Bytes

Versions: 2

Compression:

Stored size: 333 Bytes

Contents

#
# Since the default autotest mappings in gems/rspec-<version>/lib/autotest/rspec.rb
# assume lib/ and spec/ are structured in the same way, we have to replace them.
#
Autotest.add_hook :initialize do |at|
  at.remove_mapping %r%^lib/(.*)\.rb$%
  at.add_mapping(%r%^lib/icu_ratings/(.*)\.rb$%) { |_, m| "spec/#{m[1]}_spec.rb" }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
icu_ratings-0.2.1 .autotest
icu_ratings-0.2.0 .autotest