Sha256: 9b2b557b47ac5f714279b3db2fd085e078e54a1982a37284c28d0eb04d9bebb2

Contents?: true

Size: 615 Bytes

Versions: 12

Compression:

Stored size: 615 Bytes

Contents

Feature: `rm' command

  Scenario: Removes the given key
    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 rm foo.bar`
    Then the output should contain:
    """
    Localeapp rm

    Remove key: foo.bar
    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 rm foo.bar`
    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/rm.feature
localeapp-3.2.0 features/rm.feature
localeapp-3.1.3 features/rm.feature
localeapp-3.1.2 features/rm.feature
localeapp-3.1.1 features/rm.feature
localeapp-3.1.0 features/rm.feature
localeapp-3.0.1 features/rm.feature
localeapp-3.0.0 features/rm.feature
localeapp-2.5.0 features/rm.feature
localeapp-2.4.0 features/rm.feature
localeapp-2.3.0 features/rm.feature
localeapp-2.2.0 features/rm.feature