Logo: Relish

  1. Sign in

Project: relish

Configuration

The relish config command lets you show and add
configuration options.

Scenarios
Add project to the configuration file
When
I run relish config:add project:rspec-core
Then
the file ".relish" should contain the YAML:
---
project: rspec-core
Overwrite a project in the configuration file
When
I run relish config:add project:rspec-core
Then
the file ".relish" should contain the YAML:
---
project: rspec-core
When
I run relish config:add project:rspec-rails
Then
the file ".relish" should contain the YAML:
---
project: rspec-rails
Attempt to add an unknown configuration option
When
I run relish config:add foo:bar
Then
it should fail with:
'foo' is not a valid option. Valid options: project

Last published over 3 years ago by mattwynne.