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 collaboratorAdd a Project
The relish projects:add
command allows you to add a project.
- Background
-
- Given
- I have authenticated my user account "matt/password" via the console
- And
- I am a publisher
- Scenarios
-
- Add a project via handle
- Add a private project via handle
- Add a project via user and project handle (:user_handle/:handle)
- Add a project via publisher and project handle (:publisher/:project)
- Add a project to a publisher I'm not a collborator with
- Add a project to a publisher that doesn't exist
- Add a project to a user that is not me
- Add a project via invalid handle
- Add a project without a handle
- Add a project via handle
-
- When
-
I run
relish projects:add rspec-core
- Then
-
it should pass with:
matt/rspec-core project added
- And
- I sign in as "matt/password"
- And
- I go to my dashboard projects page
- Then
-
I should see the following projects on my dashboard:
matt/rspec-core
- Add a private project via handle
-
- When
-
I run
relish projects:add rspec-core:private
- Then
-
it should pass with:
matt/rspec-core project added (private)
- Add a project via user and project handle (:user_handle/:handle)
-
- When
-
I run
relish projects:add matt/rspec-core
- Then
-
it should pass with:
matt/rspec-core project added
- Add a project via publisher and project handle (:publisher/:project)
-
- Given
- I am a collaborator with a publisher "rspec"
- When
-
I run
relish projects:add rspec/rspec-core
- Then
-
it should pass with:
rspec/rspec-core project added
- Add a project to a publisher I'm not a collborator with
-
- Given
- a publisher "rspec"
- When
-
I run
relish projects:add rspec/rspec-core
- Then
-
it should fail with:
Authorization failed
- Add a project to a publisher that doesn't exist
-
- When
-
I run
relish projects:add foo/rspec-core
- Then
-
it should fail with:
No publisher 'foo' was found.
- Add a project to a user that is not me
-
- Given
- a user with the handle "justin"
- When
-
I run
relish projects:add justin/rspec-core
- Then
-
it should fail with:
No publisher 'justin' was found.
- Add a project via invalid handle
-
- When
-
I run
relish projects:add invalid_project
- Then
-
it should fail with:
Validation failed: Handle may only contain alphanumeric characters or dashes and cannot begin with a dash
- Add a project without a handle
-
- When
-
I run
relish projects:add
- Then
-
it should fail with:
Please specify a project.
Last published over 5 years ago by mattwynne.