Sha256: 707ba31cdc037648467e132aa31811f5b289b114a27ae1929a05e584410d0c61

Contents?: true

Size: 1.44 KB

Versions: 17

Compression:

Stored size: 1.44 KB

Contents

Feature: Pulling all translation

  Scenario: Running pull
    In order to retrieve my translations
    Given I have a translations on localeapp.com for the project with api key "MYAPIKEY"
    And an initializer file
    And a directory named "config/locales"
    When I run `localeapp pull`
    Then the output should contain:
    """
    Localeapp Pull

    Fetching translations:
    Success!
    Updating backend:
    Success!
    """
    And help should not be displayed
    And a file named "config/locales/en.yml" should exist

  Scenario: Running pull without having a locales dir
    In order to retreive my translations
    Given I have a translations on localeapp.com for the project with api key "MYAPIKEY"
    And an initializer file
    When I run `localeapp pull`
    Then the output should contain:
    """
    Could not write locale file, please make sure that config/locales exists and is writeable
    """

  Scenario: Running pull with no initializer file, passing the key on the command line
    In order to retrieve my translations
    Given I have a translations on localeapp.com for the project with api key "MYAPIKEY"
    And a directory named "config/locales"
    When I run `localeapp -k MYAPIKEY pull`
    Then the output should contain:
    """
    Localeapp Pull

    Fetching translations:
    Success!
    Updating backend:
    Success!
    """
    And help should not be displayed
    And a file named "config/locales/en.yml" should exist

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
localeapp-0.7.2 features/pull.feature
localeapp-0.7.1 features/pull.feature
localeapp-0.7.0 features/pull.feature
localeapp-0.6.14 features/pull.feature
localeapp-0.6.13 features/pull.feature
localeapp-0.6.12 features/pull.feature
localeapp-0.6.10 features/pull.feature
localeapp-0.6.9 features/pull.feature
localeapp-0.6.8 features/pull.feature
localeapp-0.6.7 features/pull.feature
localeapp-0.6.6 features/pull.feature
localeapp-0.6.5 features/pull.feature
localeapp-0.6.4 features/pull.feature
localeapp-0.6.3 features/pull.feature
localeapp-0.6.2 features/pull.feature
localeapp-0.6.1 features/pull.feature
localeapp-0.6.0 features/pull.feature