Created
February 11, 2015 16:42
-
-
Save initcron/e09c00e301e92b687823 to your computer and use it in GitHub Desktop.
test/integration/server/serverspec/git_daemon_spec.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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