Skip to content

Instantly share code, notes, and snippets.

@initcron
Created February 11, 2015 16:42
Show Gist options
  • Select an option

  • Save initcron/e09c00e301e92b687823 to your computer and use it in GitHub Desktop.

Select an option

Save initcron/e09c00e301e92b687823 to your computer and use it in GitHub Desktop.
test/integration/server/serverspec/git_daemon_spec.rb
require 'serverspec'
# Required by serverspec
set :backend, :exec
describe "Git Daemon" do
it "is listening on port 9418" do
expect(port(9418)).to be_listening
end
it "has a running service of git-daemon" do
expect(service("git-daemon")).to be_running
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment