Add Dedicated instance spec for POST admin registrations groups

What does this MR do and why?

Admin::Registrations::GroupsController runs verify_available! before every action, and it returns 404 on GitLab Dedicated. When the self_managed_welcome_onboarding feature flag was removed in !239674 (merged), the old 404 spec for create went away, and only new kept a Dedicated spec. This MR adds the matching when on a Dedicated instance context for POST /admin/registrations/groups, so the write path is covered too.

Closes #602425 (closed).

References

Follow-up from !239674 (merged).

Screenshots or screen recordings

Not applicable — spec-only change.

How to set up and validate locally

  1. Run bundle exec rspec spec/requests/admin/registrations/groups_controller_spec.rb.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist.

This contribution was prepared with the help of an AI assistant. I reviewed the changes and take responsibility for them.

Merge request reports

Loading
Loading