f0391c2517
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
7 lines
188 B
Ruby
7 lines
188 B
Ruby
# frozen_string_literal: true
|
|
|
|
RSpec::Matchers.define :include_security_headers do |expected|
|
|
match do |actual|
|
|
expect(actual.headers).to include('X-Content-Type-Options')
|
|
end
|
|
end
|