Sha256: 48b752bb92d824db4c0bc533c0d0c31edfa9acbbcd988f0713c24dd7d25d08e2

Contents?: true

Size: 1.25 KB

Versions: 30

Compression:

Stored size: 1.25 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 the page title "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

30 entries across 30 versions & 6 rubygems

Version Path
activeadmin_addons-1.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/i18n.feature
activeadmin_addons-1.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/i18n.feature
yousty-activeadmin-1.0.17.pre features/i18n.feature
yousty-activeadmin-1.0.16.pre features/i18n.feature
activeadmin_addons-1.1.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/i18n.feature
activeadmin_addons-1.0.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/i18n.feature
activeadmin_addons-1.0.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/i18n.feature
yousty-activeadmin-1.0.15.pre features/i18n.feature
activeadmin-orac-1.0.0.pre4 features/i18n.feature
activeadmin-orac-1.0.0 features/i18n.feature
activeadmin-orac-1.0.0.pre.orac features/i18n.feature
yousty-activeadmin-1.0.14.pre features/i18n.feature
yousty-activeadmin-1.0.13.pre features/i18n.feature
yousty-activeadmin-1.0.12.pre features/i18n.feature
yousty-activeadmin-1.0.11.pre features/i18n.feature
yousty-activeadmin-1.0.10.pre features/i18n.feature
yousty-activeadmin-1.0.9.pre features/i18n.feature
yousty-activeadmin-1.0.8.pre features/i18n.feature
activeadmin-1.0.0.pre4 features/i18n.feature
activeadmin-1.0.0.pre3 features/i18n.feature