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