Skip to content

Add `Project#add_[role]` methods

We do something like this hundreds of times throughout our specs: project.team << [user, :developer]. It'd be a nicer interface if we could just say project.add_developer(user).

We have a similar interface for Group.