Sha256: a6ef593bd2b77588585f38b46c8cd2b5b55e7c2c646a374dfa604b0285c8928d

Contents?: true

Size: 481 Bytes

Versions: 24

Compression:

Stored size: 481 Bytes

Contents

if $tork_test_file.end_with? '.feature'
  original_argv = ARGV.dup
  begin
    # pass the feature file to cucumber(1) in ARGV
    ARGV.push [$tork_test_file, *$tork_line_numbers].join(':')
    require 'rubygems'
    require 'cucumber'
    load Gem.bin_path('cucumber', 'cucumber')
  ensure
    # restore ARGV for other at_exit hooks.  otherwise, RSpec's hook will
    # try to load the non-Ruby feature file from ARGV and fail accordingly.
    ARGV.replace original_argv
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
tork-20.0.1 lib/tork/config/cucumber/worker.rb
tork-20.0.0 lib/tork/config/cucumber/worker.rb
tork-19.11.1 lib/tork/config/cucumber/worker.rb
tork-19.10.0 lib/tork/config/cucumber/worker.rb
tork-19.9.0 lib/tork/config/cucumber/worker.rb
tork-19.8.2 lib/tork/config/cucumber/worker.rb
tork-19.8.1 lib/tork/config/cucumber/worker.rb
tork-19.8.0 lib/tork/config/cucumber/worker.rb
tork-19.7.0 lib/tork/config/cucumber/worker.rb
tork-19.6.1 lib/tork/config/cucumber/worker.rb
tork-19.6.0 lib/tork/config/cucumber/worker.rb
tork-19.5.1 lib/tork/config/cucumber/worker.rb
tork-19.5.0 lib/tork/config/cucumber/worker.rb
tork-19.4.0 lib/tork/config/cucumber/worker.rb
tork-19.3.2 lib/tork/config/cucumber/worker.rb
tork-19.3.1 lib/tork/config/cucumber/worker.rb
tork-19.3.0 lib/tork/config/cucumber/worker.rb
tork-19.2.2 lib/tork/config/cucumber/worker.rb
tork-19.2.1 lib/tork/config/cucumber/worker.rb
tork-19.2.0 lib/tork/config/cucumber/worker.rb