Skip to content

Commit 4cfb5ff

Browse files
bastelfreakekohl
andauthored
Update spec/acceptance/foreman_openbolt_spec.rb
Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
1 parent 84944c1 commit 4cfb5ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/acceptance/foreman_openbolt_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
it_behaves_like 'the foreman application'
1717

18-
describe command("curl --cacert /etc/foreman-certs/certificate.pem --user admin:changeme https://$(hostname -f)/api/plugins | jq -r .results[].id | grep foreman_openbolt") do
19-
its(:stdout) { should match('foreman_openbolt') }
18+
describe curl_command("https://$(hostname -f)/api/plugins", cacert: '/etc/foreman-certs/certificate.pem', user: 'admin:changeme') do
19+
its(:stdout) { should include('foreman_openbolt') }
2020
its(:exit_status) { should eq 0 }
2121
end
2222
end

0 commit comments

Comments
 (0)