diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-21 19:55:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 09:55:31 +0900 |
commit | 84cc805caea566d4fb0fafce411cd07f83cfd0e2 (patch) | |
tree | 90742b7a02b2907a419fee5ef59e031d04607729 /spec/support/matchers/json | |
parent | 0cfdd1a401f055c23e308a4b823bd250b1cbb3d3 (diff) |
Enable Style/FrozenStringLiteralComment for specs (#23790)
Diffstat (limited to 'spec/support/matchers/json')
-rw-r--r-- | spec/support/matchers/json/match_json_schema.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/matchers/json/match_json_schema.rb b/spec/support/matchers/json/match_json_schema.rb index 5d9c9a618..3a275199e 100644 --- a/spec/support/matchers/json/match_json_schema.rb +++ b/spec/support/matchers/json/match_json_schema.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + RSpec::Matchers.define :match_json_schema do |schema| match do |input_json| schema_path = Rails.root.join('spec', 'support', 'schema', "#{schema}.json").to_s |