Revision 2e5e59a1
Added by Samir Jha over 1 year ago
spec/support/acceptance/examples.rb | ||
---|---|---|
|
||
describe curl_command("https://#{host_inventory['fqdn']}/pulp/api/v3/", cacert: "#{certdir}/ca-cert.pem") do
|
||
# Requires authentication: https://github.com/pulp/pulpcore/issues/2340
|
||
its(:response_code) { is_expected.to eq(403) }
|
||
if(!['3.16', '3.17', '3.18', '3.19'].include?(ENV['BEAKER_FACTER_PULPCORE_VERSION']))
|
||
its(:response_code) { is_expected.to eq(200) }
|
||
else
|
||
its(:response_code) { is_expected.to eq(403) }
|
||
end
|
||
its(:exit_status) { is_expected.to eq 0 }
|
||
end
|
||
|
Also available in: Unified diff
Add pulpcore 3.21 support