Skip to content

Commit

Permalink
(fixup) Update unit tests post pdk-904
Browse files Browse the repository at this point in the history
  • Loading branch information
rodjek committed Apr 20, 2018
1 parent 12dcf22 commit e4e32a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/unit/pdk/cli/test/unit_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
before(:each) do
allow(PDK::CLI::Util).to receive(:puppet_env_from_opts).with(hash_including(:'puppet-version' => puppet_version)).and_return(puppet_env)
allow(PDK::Test::Unit).to receive(:invoke).and_return(0)
allow(PDK::CLI::Util).to receive(:module_version_check)
end

it 'activates resolved puppet version' do
Expand Down Expand Up @@ -186,6 +187,7 @@
before(:each) do
allow(PDK::CLI::Util).to receive(:puppet_env_from_opts).with(hash_including(:'pe-version' => pe_version)).and_return(puppet_env)
allow(PDK::Test::Unit).to receive(:invoke).and_return(0)
allow(PDK::CLI::Util).to receive(:module_version_check)
end

it 'activates resolved puppet version' do
Expand Down

0 comments on commit e4e32a2

Please sign in to comment.