Skip to content

Instantly share code, notes, and snippets.

@whiteadam
Created October 3, 2014 16:51
Show Gist options
  • Save whiteadam/de4d3102391e4c3faf57 to your computer and use it in GitHub Desktop.
Save whiteadam/de4d3102391e4c3faf57 to your computer and use it in GitHub Desktop.
Serverspec 2 stuff
require 'serverspec'
set :backend, :exec
describe 'web site' do
it 'responds on port 80' do
expect(port 80).to be_listening 'tcp'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment