diff --git a/lib/puppetlabs_spec_helper/rake_tasks.rb b/lib/puppetlabs_spec_helper/rake_tasks.rb index 0f5968b9..a750c153 100644 --- a/lib/puppetlabs_spec_helper/rake_tasks.rb +++ b/lib/puppetlabs_spec_helper/rake_tasks.rb @@ -111,8 +111,9 @@ warn 'No files for parallel_spec to run against' else - args = ['-t', 'rspec'] - args.push('--').concat(ENV['CI_SPEC_OPTIONS'].strip.split).push('--') unless ENV['CI_SPEC_OPTIONS'].nil? || ENV['CI_SPEC_OPTIONS'].strip.empty? + args = ['--type', 'rspec'] + additional_options = ['--format', 'progress'] + ENV['CI_SPEC_OPTIONS'].to_s.strip.split + args.push('--').concat(additional_options).push('--') args.concat(Rake::FileList[pattern].to_a) ParallelTests::CLI.new.run(args)