To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorRemove a collaborator
The relish collab:remove
command allows you to remove a
collaborator from a project.
- Background
-
- Given
- I have authenticated my user account "justin" via the console
- And
- I am a publisher
- And
- I have a project named "rspec-core"
- And
-
the following user:
handle email password matt [email protected] password - And
- "matt" is a collaborator on the project "rspec-core"
- Scenarios
-
- Remove a collaborator from a project by user handle
- Remove a collaborator from a project by user email
- Remove a collaborator from a project specified in the options file
- Remove a collaborator from a project by user handle
-
- When
-
I run
relish collab:remove rspec-core:matt
- Then
-
it should pass with:
matt ([email protected]) is no longer a collaborator on justin/rspec-core
- And
- I sign in as "matt/password"
- And
- I go to my dashboard page
- Then
- I should not see "justin/rspec-core"
- Remove a collaborator from a project by user email
-
- When
-
I run
relish collab:remove rspec-core:[email protected]
- Then
-
it should pass with:
matt ([email protected]) is no longer a collaborator on justin/rspec-core
- And
- I sign in as "matt/password"
- And
- I go to my dashboard page
- Then
- I should not see "justin/rspec-core"
- Remove a collaborator from a project specified in the options file
-
- Given
- I append "project: rspec-core" to ".relish"
- When
-
I run
relish collab:remove [email protected]
- Then
-
it should pass with:
matt ([email protected]) is no longer a collaborator on justin/rspec-core
- And
- I sign in as "matt/password"
- And
- I go to my dashboard page
- Then
- I should not see "justin/rspec-core"
Last published over 5 years ago by mattwynne.