diff --git a/spec/acceptance/foreman_prometheus_spec.rb b/spec/acceptance/foreman_prometheus_spec.rb index 5cf998567..7b1d34285 100644 --- a/spec/acceptance/foreman_prometheus_spec.rb +++ b/spec/acceptance/foreman_prometheus_spec.rb @@ -86,7 +86,7 @@ class { '::foreman': it { is_expected.to be_listening } end - describe command("curl -s --cacert /etc/foreman/certificate.pem https://#{host_inventory['fqdn']} -w '\%{redirect_url}' -o /dev/null"), unless: os[:family] == 'debian' do + describe command("curl -s --cacert /etc/foreman/certificate.pem https://#{host_inventory['fqdn']} -w '\%{redirect_url}' -o /dev/null") do its(:stdout) { is_expected.to eq("https://#{host_inventory['fqdn']}/users/login") } its(:exit_status) { is_expected.to eq 0 } end