bin/cuc in geordi-0.7.0 vs bin/cuc in geordi-0.8.0

- old
+ new

@@ -18,10 +18,11 @@ format_args = spinner_available ? ['--format', 'CucumberSpinner::CuriousProgressBarFormatter'] : ['--format', 'progress'] # Check if parallel_tests is available parallel_tests_available = ['rake', 'parallel:spec'] if File.exists?('Gemfile') && File.open('Gemfile').read.scan(/parallel_tests/).any? -use_parallel_tests = parallel_tests_available && (ARGV[0] == nil) +rerun_txt_exists_and_has_content = File.exists?('rerun.txt') && File.size('rerun.txt') > 0 +use_parallel_tests = parallel_tests_available && (ARGV[0] == nil) && !rerun_txt_exists_and_has_content use_firefox_for_selenium = "PATH=#{Geordi::SetupFirefoxForSelenium::FIREFOX_FOR_SELENIUM_PATH}:$PATH" if use_parallel_tests puts "Using parallel_tests ...\n\n"