Last active
August 29, 2015 14:08
-
-
Save hemalvarambhia/49ab17769543b0d8e81a to your computer and use it in GitHub Desktop.
An example of how the nginx rpsec matcher is used in serverspec. This was also shown to the London Chef Users Meetup on Tuesday.
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
describe "AI office" do | |
describe "/feed URL" do | |
its(:content) { | |
should permit(client_machines).access_to("/feed") | |
} | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment