Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (11 sloc) 269 Bytes
require 'serverspec'
# Required by serverspec
set :backend, :exec
describe "Nginx Daemon" do
it "is listening on port 80" do
expect(port(80)).to be_listening
end
it "has a running service of nginx" do
expect(service("nginx")).to be_running
end
end