Sha256: dc8059ad005b006ce609674f29990ca4f28395115c8b1facf91429d185caba20

Contents?: true

Size: 652 Bytes

Versions: 12

Compression:

Stored size: 652 Bytes

Contents

Feature: `mv' command

  Scenario: Renames 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 mv foo.bar foo.baz`
    Then the output should contain:
    """
    Localeapp mv

    Renaming 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 mv foo.bar foo.baz`
    Then the exit status must be 70
    And the output must match /error.+404/i

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
localeapp-3.3.0 features/mv.feature
localeapp-3.2.0 features/mv.feature
localeapp-3.1.3 features/mv.feature
localeapp-3.1.2 features/mv.feature
localeapp-3.1.1 features/mv.feature
localeapp-3.1.0 features/mv.feature
localeapp-3.0.1 features/mv.feature
localeapp-3.0.0 features/mv.feature
localeapp-2.5.0 features/mv.feature
localeapp-2.4.0 features/mv.feature
localeapp-2.3.0 features/mv.feature
localeapp-2.2.0 features/mv.feature