Last active
April 8, 2017 23:02
-
-
Save gustavo-freitas/6139f566b2903c9ac7be688479ad8ed2 to your computer and use it in GitHub Desktop.
gists para artigo sobre teste de infraestrutura
This file contains 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
describe service(‘jenkins’), :if => os[:family] == ‘ubuntu’ 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