Skip to content

Commit 4b98af8

Browse files
authored
Merge pull request #268 from stamm/master
(MODULES-8242) - Fix CI_SPEC_OPTIONS failing
2 parents f6b45e3 + a00aabb commit 4b98af8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/puppetlabs_spec_helper/rake_tasks.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@
9595
else
9696
begin
9797
args = ['-t', 'rspec']
98-
args.push('--').concat(ENV['CI_SPEC_OPTIONS'].strip.split(' ')).push('--') unless ENV['CI_SPEC_OPTIONS'].nil? || ENV['CI_SPEC_OPTIONS'].strip.empty?
99-
args.concat(Rake::FileList[pattern].to_a)
98+
args += ENV['CI_SPEC_OPTIONS'].strip.split(' ') unless ENV['CI_SPEC_OPTIONS'].nil? || ENV['CI_SPEC_OPTIONS'].strip.empty?
99+
args += Rake::FileList[pattern].to_a
100100

101101
ParallelTests::CLI.new.run(args)
102102
end

0 commit comments

Comments
 (0)