6 lines
157 B
Ruby
6 lines
157 B
Ruby
![]() |
RSpec::Matchers.define :include_security_headers do |expected|
|
||
|
match do |actual|
|
||
|
expect(actual.headers).to include('X-Content-Type-Options')
|
||
|
end
|
||
|
end
|