fuel-library/deployment/puppet/fuel/spec/classes/nginx_service_spec.rb

8 lines
227 B
Ruby

require 'spec_helper'
describe 'fuel::nginx' 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