Sha256: fc6365405c408920c788b1f1858f64b6743b0e38fba3d498b90dac6e852e33e4

Contents?: true

Size: 410 Bytes

Versions: 1

Compression:

Stored size: 410 Bytes

Contents

rspec_version = begin
  require 'rspec/core/version'
  RSpec::Core::Version::STRING
rescue LoadError, NameError
  # ignore
end

if $tork_test_file.start_with? 'spec/' and $tork_line_numbers.any?
  if rspec_version and rspec_version >= '3.0'
    ARGV.push [$tork_test_file, *$tork_line_numbers].join(':')
  else
    $tork_line_numbers.each do |line|
      ARGV.push '--line_number', line.to_s
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tork-19.8.2 lib/tork/config/spec/worker.rb