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 :model_have_error_on_field do |expected|
|
||||
match do |record|
|
||||
record.valid? if record.errors.empty?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue