Sha256: ea89591e0c25af2fa42ebfa050fb5fd6794aee2a30c4ca2f49f1fd936aed8669

Contents?: true

Size: 650 Bytes

Versions: 6

Compression:

Stored size: 650 Bytes

Contents

Feature: `cp' command

  Scenario: Copies the given translation
    Given I have a valid project on localeapp.com with api key "MYAPIKEY" and the translation key "foo.bar"
    And an initializer file
    When I successfully run `localeapp cp foo.bar foo.baz`
    Then the output should contain:
    """
    Localeapp cp

    Copying key: foo.bar to foo.baz
    Success!
    """

  Scenario: Reports an error when the given API key is incorrect
    Given no project exist on localeapp.com with API key "MYAPIKEY"
    When I run `localeapp -k MYAPIKEY cp foo.bar foo.baz`
    Then the exit status must be 70
    And the output must match /error.+404/i

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
localeapp-3.3.0 features/cp.feature
localeapp-3.2.0 features/cp.feature
localeapp-3.1.3 features/cp.feature
localeapp-3.1.2 features/cp.feature
localeapp-3.1.1 features/cp.feature
localeapp-3.1.0 features/cp.feature