Logo: Relish

  1. Sign in

Project: relish

Remove a collaborator

  • @gem

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
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 3 years ago by mattwynne.