Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-robertson committed Jun 14, 2024
1 parent 428101f commit c88272c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions spec/acceptance/observium_install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ 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('pwd') do
its(:exit_status) { is_expected.to match(0) }
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('pwd') do
# its(:exit_status) { is_expected.to match(0) }
# end

describe cron do
it { is_expected.to have_entry('33 */6 * * * /opt/observium/discovery.php -h all >> /dev/null 2>&1').with_user('root') }
end
Expand Down

0 comments on commit c88272c

Please sign in to comment.