Sha256: ba1e42a1e4365081ca1b3414a57052d8cebd1e65f914547515e77ff23207fe1b

Contents?: true

Size: 1.63 KB

Versions: 23

Compression:

Stored size: 1.63 KB

Contents

Feature: Pushing existing translation to localeapp

  Scenario: Running push on a file
    In order to send my translations
    When I have a valid project on localeapp.com with api key "MYAPIKEY"
    And an initializer file
    And an empty file named "config/locales/en.yml"
    When I run `localeapp push config/locales/en.yml`
    Then the output should contain:
    """
    Localeapp Push

    Pushing file en.yml:
    Success!

    config/locales/en.yml queued for processing.
    """
    And help should not be displayed

  Scenario: Running push on a directory
    In order to send my translations
    When I have a valid project on localeapp.com with api key "MYAPIKEY"
    And an initializer file
    And an empty file named "config/locales/en.yml"
    And an empty file named "config/locales/es.yml"
    When I run `localeapp push config/locales`
    Then the output should contain:
    """
    Localeapp Push

    Pushing file en.yml:
    Success!

    config/locales/en.yml queued for processing.

    Pushing file es.yml:
    Success!

    config/locales/es.yml queued for processing.
    """
    And help should not be displayed

  Scenario: Running push on a file with no initializer file, passing the key on the command line
    In order to send my translations
    When I have a valid project on localeapp.com with api key "MYAPIKEY"
    And an empty file named "config/locales/en.yml"
    When I run `localeapp -k MYAPIKEY push config/locales/en.yml`
    Then the output should contain:
    """
    Localeapp Push

    Pushing file en.yml:
    Success!

    config/locales/en.yml queued for processing.
    """
    And help should not be displayed

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
localeapp-0.9.3 features/push.feature
localeapp-0.9.2 features/push.feature
localeapp-0.9.1 features/push.feature
localeapp-0.9.0 features/push.feature
localeapp-0.8.1 features/push.feature
localeapp-0.8.0 features/push.feature
localeapp-0.7.2 features/push.feature
localeapp-0.7.1 features/push.feature
localeapp-0.7.0 features/push.feature
localeapp-0.6.14 features/push.feature
localeapp-0.6.13 features/push.feature
localeapp-0.6.12 features/push.feature
localeapp-0.6.10 features/push.feature
localeapp-0.6.9 features/push.feature
localeapp-0.6.8 features/push.feature
localeapp-0.6.7 features/push.feature
localeapp-0.6.6 features/push.feature
localeapp-0.6.5 features/push.feature
localeapp-0.6.4 features/push.feature
localeapp-0.6.3 features/push.feature