From b5496209bc06f0cde3a95b8acbd063dd2d25bddf Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 14 Jun 2024 17:56:09 +1000 Subject: [PATCH] Restore code --- spec/acceptance/observium_install_spec.rb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/spec/acceptance/observium_install_spec.rb b/spec/acceptance/observium_install_spec.rb index 74cc35c..faf447d 100644 --- a/spec/acceptance/observium_install_spec.rb +++ b/spec/acceptance/observium_install_spec.rb @@ -38,16 +38,10 @@ 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(:exit_status) { should eq 0 } + its(:stdout) { should contain 'HTTP/1.1 200 OK' } end - - # describe command('pwd') do # its(:exit_status) { is_expected.to match(0) }