Sha256: fa0593b84bab397c638fa63324d313166bf0d521a41dc7a87c392a592e943b5a

Contents?: true

Size: 518 Bytes

Versions: 19

Compression:

Stored size: 518 Bytes

Contents

Tork::Driver::REABSORB_FILE_GREPS.push 'spec/spec_helper.rb'

Tork::Driver::ALL_TEST_FILE_GLOBS.push 'spec/**/{spec_*,*_spec}.rb'

Tork::Driver::TEST_FILE_GLOBBERS.update(
  # source files that correspond to test files
  %r{^lib/.*?([^/]+)\.rb$} => lambda do |matches|
    target = matches[1]
    "spec/**/{spec_#{target},#{target}_spec}.rb"
  end,

  # the actual test files themselves
  %r{^spec/.+\.rb$} => lambda do |matches|
    target = matches[0]
    target if File.basename(target) =~ /^spec_|_spec\./
  end
)

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
tork-19.8.2 lib/tork/config/spec/driver.rb
tork-19.8.1 lib/tork/config/spec/driver.rb
tork-19.8.0 lib/tork/config/spec/driver.rb
tork-19.7.0 lib/tork/config/spec/driver.rb
tork-19.6.1 lib/tork/config/spec/driver.rb
tork-19.6.0 lib/tork/config/spec/driver.rb
tork-19.5.1 lib/tork/config/spec/driver.rb
tork-19.5.0 lib/tork/config/spec/driver.rb
tork-19.4.0 lib/tork/config/spec/driver.rb
tork-19.3.2 lib/tork/config/spec/driver.rb
tork-19.3.1 lib/tork/config/spec/driver.rb
tork-19.3.0 lib/tork/config/spec/driver.rb
tork-19.2.2 lib/tork/config/spec/driver.rb
tork-19.2.1 lib/tork/config/spec/driver.rb
tork-19.2.0 lib/tork/config/spec/driver.rb
tork-19.1.0 lib/tork/config/spec/driver.rb
tork-19.0.2 lib/tork/config/spec/driver.rb
tork-19.0.1 lib/tork/config/spec/driver.rb
tork-19.0.0 lib/tork/config/spec/driver.rb