diff options
Diffstat (limited to 'spec/support/matchers/security_header_matcher.rb')
-rw-r--r-- | spec/support/matchers/security_header_matcher.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/matchers/security_header_matcher.rb b/spec/support/matchers/security_header_matcher.rb index f8518d13ebb..760b1fddd06 100644 --- a/spec/support/matchers/security_header_matcher.rb +++ b/spec/support/matchers/security_header_matcher.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + RSpec::Matchers.define :include_security_headers do |expected| match do |actual| expect(actual.headers).to include('X-Content-Type-Options') |