summaryrefslogtreecommitdiff
path: root/spec/support/forgery_protection.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/forgery_protection.rb')
-rw-r--r--spec/support/forgery_protection.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/forgery_protection.rb b/spec/support/forgery_protection.rb
index fa87d5fa881..1d6ea013292 100644
--- a/spec/support/forgery_protection.rb
+++ b/spec/support/forgery_protection.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module ForgeryProtection
def with_forgery_protection
ActionController::Base.allow_forgery_protection = true