Skip to content

Instantly share code, notes, and snippets.

@floehopper
Created January 23, 2018 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save floehopper/488f637812ade3f821977c364b77f5c7 to your computer and use it in GitHub Desktop.
Save floehopper/488f637812ade3f821977c364b77f5c7 to your computer and use it in GitHub Desktop.
Spike on unit testing Nginx config in govuk-puppet
puts subject.call.resources.detect { |r| r.type == 'Nginx::Config::Site' && r['name'] == 'assets-origin.dev.gov.uk' }['content']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment