Skip to content

Commit

Permalink
(maint) Fix parallel spec issue with coverage_spec
Browse files Browse the repository at this point in the history
Previously, the specs were run in serial, or in larger chunks in parallel.
Unfortunately this hides errors where spec files don't explicitly load all
requires before loading.  This commit adds the require spec_helper to any
remaining spec files so that parallel spec can complete correctly.
  • Loading branch information
glennsarti committed Feb 9, 2017
1 parent 7989b4e commit 8abec7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/classes/coverage_spec.rb
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
require 'spec_helper'

at_exit { RSpec::Puppet::Coverage.report! }

0 comments on commit 8abec7b

Please sign in to comment.