Sha256: ad6e6462b11e4ecc052458a51c6ceba84f783d109f6839250422485b1694a8e4
Contents?: true
Size: 1.44 KB
Versions: 6
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 writable """ 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
6 entries across 6 versions & 1 rubygems