2
0

Update rubocop to version 1.79.0 (#35502)

This commit is contained in:
Matt Jankowski
2025-07-25 03:22:05 -04:00
committed by GitHub
parent 960f693219
commit 2e35defeec
10 changed files with 16 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ RSpec.describe ExistingUsernameValidator do
let(:record_class) do
Class.new do
include ActiveModel::Validations
attr_accessor :contact, :friends
def self.name

View File

@@ -6,6 +6,7 @@ RSpec.describe LanguageValidator do
let(:record_class) do
Class.new do
include ActiveModel::Validations
attr_accessor :locale
validates :locale, language: true

View File

@@ -6,6 +6,7 @@ RSpec.describe UnreservedUsernameValidator do
let(:record_class) do
Class.new do
include ActiveModel::Validations
attr_accessor :username
validates_with UnreservedUsernameValidator

View File

@@ -6,6 +6,7 @@ RSpec.describe URLValidator do
let(:record_class) do
Class.new do
include ActiveModel::Validations
attr_accessor :profile
validates :profile, url: true