fuel-library/deployment/puppet/nailgun/spec/classes/nginx_service_spec.rb
Maksim Malchuk 8b87f79550 Puppet4 propper support in the nailgun module
* Adapt to Puppet 4
* Code cleanup

Change-Id: I60f7d0d7237303d610c90e002c4e5c22fedecf27
Closes-Bug: #1533352
2016-01-14 18:13:00 +03:00

8 lines
238 B
Ruby

require 'spec_helper'
describe 'nailgun::nginx_service' do
it 'should contain X-Frame-Options SAMEORIGIN header' do
should contain_file('/etc/nginx/nginx.conf').with_content(/^\s*add_header X-Frame-Options SAMEORIGIN;$/)
end
end