Logo: Relish

  1. Sign in

Project: relish

Rename a project

  • @gem

The relish projects:rename command allows you to
rename a project's handle.

Background
And
I have authenticated my user account "justin/password" via the console
And
I am a publisher
Scenarios
Rename a project's handle successfully
Given
I have a project named "rspec-core"
When
I run relish projects:rename justin/rspec-core:rspec-corez
Then
it should pass with:
justin/rspec-core's handle is now rspec-corez
Rename a project's handle to the same name
Given
I have a project named "rspec-core"
When
I run relish projects:rename rspec-core:rspec-core
Then
it should pass with:
justin/rspec-core's handle is already rspec-core
Rename a project's handle to nothing
Given
I have a project named "rspec-core"
When
I run relish projects:rename rspec-core
Then
it should fail with:
Please specify a new handle. Run 'relish help' for usage information.
Forget to pass a project
Given
I have a project named "rspec-core"
When
I run relish projects:rename
Then
it should fail with:
Please specify a project. Run 'relish help' for usage information.

Last published over 3 years ago by mattwynne.