Skip to content

Migrate specs from using `create/build(:namespace...` to specific namespace types

The specs need to be changed so that all uses of create(:namespace) are

  • either changed to either create(:group), create(:user_namespace) etc. Doing this ensures that the code works with properly created Namespaces::UserNamespace.
  • modification of the factory so that type is User rather than nil

This is a step along the path of getting rid of type == nil objects in favor of Namespaces::UserNamespace

Here are the MRs so far:

Edited by charlie ablett