Sha256: 0802c3acf7ca082e8bf3639e1dee33afedcf97319f221bd46b3faeb552e11cd4

Contents?: true

Size: 983 Bytes

Versions: 7

Compression:

Stored size: 983 Bytes

Contents

@locator
Feature: Locale files editor
  In order to change site localization
  As an admin
  I want to edit locale files

  Background:
    Given I am logged in
    And "config/locales/en.test.yml" contains:
    """
      en:
        site:
          title: "Dummy app"
      """
    And am on the admin locators page

  Scenario: Locale file editing
    Then I follow "en.test.yml"
    And I fill in "locale_site_title" with "Great app"
    And press "Save"
    When "config/locales/en.test.yml" should contain:
      """
      en:
        site:
          title: "Great app"
      """

  Scenario: Merging locale files
    Then I follow "Prepare localization files"
    When "config/locales/ru.test.yml" should contain:
      """
      ru:
        site:
          title: ""
      """

#  Scenario: Reloading localization
#    Then I follow "Update localization"
#    When I should see "Translations successfully reloaded"
#    And i18n key "site.title" should have "Dummy app" value

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ab_admin-0.2.3 features/locators.feature
ab_admin-0.2.2 features/locators.feature
ab_admin-0.2.1 features/locators.feature
ab_admin-0.2.0 features/locators.feature
ab_admin-0.1.2 features/locators.feature
ab_admin-0.1.1 features/locators.feature
ab_admin-0.1.0 features/locators.feature