summaryrefslogtreecommitdiff
path: root/spec/support/matchers/disallow_request_matchers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/matchers/disallow_request_matchers.rb')
-rw-r--r--spec/support/matchers/disallow_request_matchers.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/matchers/disallow_request_matchers.rb b/spec/support/matchers/disallow_request_matchers.rb
index db4d90e4fd0..a161e3660cd 100644
--- a/spec/support/matchers/disallow_request_matchers.rb
+++ b/spec/support/matchers/disallow_request_matchers.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
RSpec::Matchers.define :disallow_request do
match do |middleware|
alert = middleware.env['rack.session'].to_hash