From 12e2a138c3091bfc1ededefaf277fc5df9a8f749 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 14 Jun 2024 17:53:44 +1000 Subject: [PATCH] with quotes --- spec/acceptance/observium_install_spec.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/spec/acceptance/observium_install_spec.rb b/spec/acceptance/observium_install_spec.rb index faf447d..74cc35c 100644 --- a/spec/acceptance/observium_install_spec.rb +++ b/spec/acceptance/observium_install_spec.rb @@ -38,10 +38,16 @@ class { 'observium': it { is_expected.to be_listening } end + # describe command('/usr/bin/curl http://127.0.0.1 -I') do + # its(:exit_status) { should eq 0 } + # its(:stdout) { should contain 'HTTP/1.1 200 OK' } + # end + describe command('/usr/bin/curl http://127.0.0.1 -I') do - its(:exit_status) { should eq 0 } - its(:stdout) { should contain 'HTTP/1.1 200 OK' } + its('exit_status') { should eq 0 } end + + # describe command('pwd') do # its(:exit_status) { is_expected.to match(0) }