[deploy] Skip pro memberships for spec (#7988)
This commit is contained in:
parent
58ff5d44ba
commit
2b8fc7473d
1 changed files with 2 additions and 0 deletions
|
|
@ -108,6 +108,8 @@ RSpec.describe Users::Delete, type: :service do
|
|||
associations = []
|
||||
|
||||
names.each do |association|
|
||||
next if association.name == :pro_membership
|
||||
|
||||
if user.public_send(association.name).present?
|
||||
associations.push(*user.public_send(association.name))
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue