Sha256: 3083f7464d2f9991e61cc597458ac680e7990ad346ae9f975b5898aeb2321154
Contents?: true
Size: 1.45 KB
Versions: 8
Compression:
Stored size: 1.45 KB
Contents
@ci-run Feature: Configuration file Scenario: Missing global file When I run `gcli config` Then the output should contain: """ Configuration file does not exist. Please use `gcli init` to create one. """ Scenario: Missing local file When I run `gcli config --local` Then the output should contain: """ Configuration file does not exist. Please use `gcli init` to create one. """ Scenario: List global file options Given I run `gcli init` When I run `gcli config` Then the output should contain: """ Configuration options: """ Scenario: Seek local before global configuration Given a directory named "piotr" And I cd to "piotr" And I run `gcli init --local` When I run `gcli config` Then the output should contain: """ Configuration options: """ Scenario: Read existing option Given I run `gcli init` When I successfully run `gcli config user.token abc123` Then the stdout should contain "abc123" Scenario: Read missing option Given I run `gcli init` When I run `gcli config missing.key` Then the exit status should be 0 Scenario: Write custom option Given I run `gcli init` When I successfully run `gcli config core.host eee555` Then the stdout should contain "eee555" Scenario: Listing all configuration options Given I run `gcli init` When I run `gcli config -l` Then the stdout should contain "user.token"
Version data entries
8 entries across 8 versions & 1 rubygems