Sha256: dc190aa70773d090af111abc37ddffcce1d3ece40a0a70c7aaad2d29a097989c

Contents?: true

Size: 1.65 KB

Versions: 6

Compression:

Stored size: 1.65 KB

Contents

Feature: Pushing existing translation to localeapp

  Scenario: Running push on a file
    In order to send my translations
    Given 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
    Given 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
    Given 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

6 entries across 6 versions & 1 rubygems

Version Path
localeapp-2.1.1 features/push.feature
localeapp-2.1.0 features/push.feature
localeapp-2.0.0 features/push.feature
localeapp-1.0.2 features/push.feature
localeapp-1.0.1 features/push.feature
localeapp-1.0.0 features/push.feature