Skip to content

Commit

Permalink
Corrected unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aursu committed Jun 17, 2024
1 parent 1c9cbae commit 8aff86c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/classes/repo_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
require 'spec_helper'

describe 'puppet::repo' do
let(:pre_condition) { 'include puppet' }

on_supported_os.each do |os, os_facts|
context "on #{os}" do
let(:facts) { os_facts }
Expand Down Expand Up @@ -36,6 +38,7 @@
context 'check deccomission packages for Puppet 7' do
let(:pre_condition) do
<<-PRECOND
include puppet
class { 'puppet::globals': platform_name => 'puppet7', }
PRECOND
end
Expand Down

0 comments on commit 8aff86c

Please sign in to comment.