Disable Rails/SkipsModelValidations
cop (#28712)
This commit is contained in:
parent
b5afbe0a61
commit
a2f02a0775
10 changed files with 12 additions and 46 deletions
|
@ -46,7 +46,7 @@ RSpec.describe ReblogService, type: :service do
|
|||
Status
|
||||
.where(id: reblog_of_id)
|
||||
.where(text: 'discard-status-text')
|
||||
.update_all(deleted_at: Time.now.utc) # rubocop:disable Rails/SkipsModelValidations
|
||||
.update_all(deleted_at: Time.now.utc)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue