Skip to content

Commit 5211dac

Browse files
committed
hdm/openbolt tests: switch to new curl_command syntax
This was added in voxpupuli-acceptance 4.2
1 parent 51eda73 commit 5211dac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/acceptance/foreman_hdm_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
end
1414

1515
it_behaves_like 'the foreman application'
16-
describe curl_command("https://admin:changeme@#{host_inventory['fqdn']}/api/plugins", cacert: '/etc/foreman-certs/certificate.pem') do
16+
describe curl_command("https://#{host_inventory['fqdn']}/api/plugins", cacert: '/etc/foreman-certs/certificate.pem', user: 'admin:changeme') do
1717
its(:stdout) { should include('foreman_hdm') }
1818
its(:exit_status) { should eq 0 }
1919
end

spec/acceptance/foreman_openbolt_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
it_behaves_like 'the foreman application'
1616

17-
describe curl_command("https://admin:changeme@#{host_inventory['fqdn']}/api/plugins", cacert: '/etc/foreman-certs/certificate.pem') do
17+
describe curl_command("https://#{host_inventory['fqdn']}/api/plugins", cacert: '/etc/foreman-certs/certificate.pem', user: 'admin:changeme') do
1818
its(:stdout) { should include('foreman_openbolt') }
1919
its(:exit_status) { should eq 0 }
2020
end

0 commit comments

Comments
 (0)