Skip to content

Instantly share code, notes, and snippets.

@mknkisk
Created May 15, 2016 05:22
Show Gist options
  • Save mknkisk/ea947aabd6847237c934af6cc23ed06c to your computer and use it in GitHub Desktop.
Save mknkisk/ea947aabd6847237c934af6cc23ed06c to your computer and use it in GitHub Desktop.
require 'spec_helper'
describe package('nginx') do
it { should be_installed }
end
describe service('nginx') do
it { should be_enabled }
it { should be_running }
end
describe port(80) do
it { should be_listening }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment