Sha256: c85f24778b7f42816815440dacd7922f08b0dc0eb6e84f1a548cb9d4a7ec8764
Contents?: true
Size: 1.45 KB
Versions: 1
Compression:
Stored size: 1.45 KB
Contents
@settings Feature: Global Settings As a developer who wants to set global settings for interaction with GitHub API When I use interface provided by GHC I have ability to create configuration file Scenario: Installs Default Configuration File When I run `ghc init` interactively And I type "token" Then the output should contain: """ Writing new configuration file to /tmp/fakehome/.githubrc """ And a file named "/tmp/fakehome/.githubrc" should exist And the file "/tmp/fakehome/.githubrc" should contain "oauth_token: token" Scenario: Configuration File Exists Given an empty file named "/tmp/fakehome/.githubrc" When I run `ghc init` Then the output should contain: """ Not overwritting existing config file /tmp/fakehome/.githubrc, use --force to override. """ Scenario: Force Config File Override Given an empty file named "/tmp/fakehome/.githubrc" When I run `ghc init --force` interactively And I type "token" Then the output should contain: """ Please specify your GitHub Authentication Token (register on github.com to get it): """ Scenario: Installs Custom Configuration File When I run `ghc init myname` interactively And I type "token" Then a file named "/tmp/fakehome/myname" should exist And the output should contain: """ Writing new configuration file to /tmp/fakehome/myname """ Scenario: Check for presence of yaml attribute
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
github_cli-0.1.0 | features/settings.feature |