8b87f79550
* Adapt to Puppet 4 * Code cleanup Change-Id: I60f7d0d7237303d610c90e002c4e5c22fedecf27 Closes-Bug: #1533352
8 lines
238 B
Ruby
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
|