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 createdNamespaces::UserNamespace
. - modification of the factory so that type is
User
rather thannil
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