Sha256: 34745a798b9954b1715143e18bb1dcecbf286d1c593a5de86f196713d5fe588f

Contents?: true

Size: 518 Bytes

Versions: 19

Compression:

Stored size: 518 Bytes

Contents

Tork::Driver::REABSORB_FILE_GREPS.push 'test/test_helper.rb'

Tork::Driver::ALL_TEST_FILE_GLOBS.push 'test/**/{test_*,*_test}.rb'

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

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

Version data entries

19 entries across 19 versions & 1 rubygems

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