Logo: Relish

  1. Sign in

Project: relish

Add a collaborator to a publisher

Background
Given
I am signed in
And
I have created a publisher "rspec"
And
the following user:
handle email password
matt [email protected] password
Scenarios
Add a collaborator
When
I go to the publisher's page
And
I add the collaborator "details"
Then
I should see a message confirming that "matt" is now a collaborator on the publisher "rspec"
And
should see matt in the list of collaborators
Examples: You can use handle or email
details
matt
[email protected]
New collaborator implicitly gets access to the publisher's projects
Given
a public project "rspec/rspec-core"
And
a private project "rspec/rspec-secret"
When
I go to the publisher's page
And
I add the collaborator "matt"
And
I sign out
And
I sign in as "[email protected]/password"
Then
I should see the following projects on my dashboard:
rspec/rspec-core
rspec/rspec-secret
Add a collaborator without specifying a handle
When
I go to the publisher's page
And
I try to add the collaborator ""
Then
I should see "User can't be blank"
Add a collaborator specifying a non-existent username

This sucks, it would be so much nicer just to send them an invite.

When
I go to the publisher's page
And
I try to add the collaborator "dave"
Then
I should see an error saying that dave is not a registered relish user
Non collaborator gets limited rights
When
I sign out
And
I go to the publisher's page
Then
I should not be able to see a list of collaborators
And
I should not see a settings button

Last published almost 4 years ago by mattwynne.