Loading
Extend Organizations::Organization#empty? to all attached resources
What does this MR do and why?
Extends Organizations::Organization#empty? to verify that snippets, topics, integrations, and system_hooks are also empty in addition to groups and projects before allowing organization deletion to proceed.
References
- Closes #596537
- Follow-up to !231141 (merged)
How to set up and validate locally
bundle exec rspec spec/models/organizations/organization_spec.rb -e '#empty?'MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist.