aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/renderers_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/renderers_test.rb')
-rw-r--r--actionpack/test/controller/renderers_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/test/controller/renderers_test.rb b/actionpack/test/controller/renderers_test.rb
index 122f5be549..d92de6f5d5 100644
--- a/actionpack/test/controller/renderers_test.rb
+++ b/actionpack/test/controller/renderers_test.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "abstract_unit"
require "controller/fake_models"
require "active_support/logger"
@@ -10,7 +12,7 @@ class RenderersTest < ActionController::TestCase
end
end
class JsonRenderable
- def as_json(options={})
+ def as_json(options = {})
hash = { a: :b, c: :d, e: :f }
hash.except!(*options[:except]) if options[:except]
hash