test: Improve test suite setup

Этот коммит содержится в:
Mattia Roccoberton
2025-04-13 15:00:22 +02:00
родитель 815491cb31
Коммит b38ce0713d
18 изменённых файлов: 114 добавлений и 209 удалений

Просмотреть файл

@@ -3,14 +3,12 @@
class Profile < ApplicationRecord
belongs_to :author, inverse_of: :profile, touch: true
# has_rich_text :description
# def to_s
# description
# end
def to_s
description
end
class << self
def ransackable_associations(auth_object = nil)
def ransackable_associations(_auth_object = nil)
%w[author]
end