Enable Style/FrozenStringLiteralComment for specs (#23790)
This commit is contained in:
@@ -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?
|
||||
|
Reference in New Issue
Block a user