Skip to content

Commit

Permalink
with quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-robertson committed Jun 14, 2024
1 parent c88272c commit 12e2a13
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions spec/acceptance/observium_install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
Expand Down

0 comments on commit 12e2a13

Please sign in to comment.