Sha256: 54eabee8e486985a9713c14ab130ef81614ad92f87d87351c6f24fe0863f47e9

Contents?: true

Size: 1.2 KB

Versions: 6

Compression:

Stored size: 1.2 KB

Contents

Feature: Internationalization

  ActiveAdmin should use the translations provided by the host app.

  Scenario: Store's model name was translated to "Bookstore"
    Given I am logged in
    And a store named "Hello words" exists
    When I go to the dashboard
    Then I should see "Bookstores"
    When I follow "Bookstores"
    Then I should see "Hello words"
    When I follow "View"
    Then I should see "Bookstore Details"
    And I should see "Hello words"
    And I should see a link to "Delete Bookstore"
    When I follow "Edit Bookstore"
    Then I should see "Edit Bookstore"
    When I press "Update Bookstore"
    Then I should see a flash with "Bookstore was successfully updated."

  Scenario: Switching language at runtime
    Given I am logged in
    When I set my locale to "fr"
    And I go to the dashboard
    Then I should see "Store"
    Then I should see "Déconnexion"

    When I set my locale to "en"
    And I go to the dashboard
    Then I should see "Bookstore"
    Then I should see "Logout"

  Scenario: Overriding translations
    Given I am logged in
    And a store named "Hello words" exists
    When I go to the dashboard
    When I follow "Bookstores"
    Then I should see "Download this:"

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
yousty-activeadmin-1.0.4.pre features/i18n.feature
yousty-activeadmin-1.0.3.pre features/i18n.feature
yousty-activeadmin-1.0.2.pre features/i18n.feature
yousty-activeadmin-1.0.1.pre features/i18n.feature
yousty-activeadmin-1.0.0.pre features/i18n.feature
aa-rails4-0.6.0 features/i18n.feature