Skip to content

Commit

Permalink
certname(): reenable test (puppetlabs#457)
Browse files Browse the repository at this point in the history
This was previously disabled because it didn't pass on travis. Let's see
how it works on GitHub Actions.
  • Loading branch information
bastelfreak authored Jul 25, 2024
1 parent 0e7d8cf commit e002cfa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions spec/functions/certname_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@

describe 'peadm::certname' do
include BoltSpec::BoltContext

around(:each) do |example|
in_bolt_context do
example.run
end
end
let(:target) do
['test-vm.puppet.vm']
end

# TODO: this *should* work, but is failing in TravisCI. Not sure why. It works on my laptop...
xit { in_bolt_context { is_expected.to run.with_params(target).and_return('test-vm.puppet.vm') } }
it { is_expected.to run.with_params(target).and_return('test-vm.puppet.vm') }
end

0 comments on commit e002cfa

Please sign in to comment.