Enable Style/FrozenStringLiteralComment for specs (#23790)
This commit is contained in:
parent
0cfdd1a401
commit
84cc805cae
369 changed files with 738 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue