Skip to content

Commit

Permalink
Merge pull request #454 from puppetlabs/revert-452-rspec
Browse files Browse the repository at this point in the history
Revert "spec_standalone: apply default formatting"
  • Loading branch information
gavindidrichsen authored Jun 6, 2024
2 parents 23c691b + 3a973f9 commit a83d61b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/puppetlabs_spec_helper/rake_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@
task default: [:help]

pattern = 'spec/{aliases,classes,defines,functions,hosts,integration,plans,tasks,type_aliases,types,unit}/**/*_spec.rb'

RSpec::Core::RakeTask.new(:spec_standalone) do |t, args|
t.rspec_opts = ['--format', 'documentation', '--color']
t.rspec_opts = []
t.rspec_opts << ENV['CI_SPEC_OPTIONS'] unless ENV['CI_SPEC_OPTIONS'].nil?
if ENV['CI_NODE_TOTAL'] && ENV['CI_NODE_INDEX']
ci_total = ENV['CI_NODE_TOTAL'].to_i
Expand Down

0 comments on commit a83d61b

Please sign in to comment.