Sha256: ede7105077e9ebcb55bd15fce73c24c093ae0f0c15d4552dee6f164558b68a75

Contents?: true

Size: 688 Bytes

Versions: 2

Compression:

Stored size: 688 Bytes

Contents

@no-clobber
Feature: Locale
  Background:
    Given I have created the app "myapp" with pah

  Scenario: Have correct files
    Then I have a config/locales/pt-BR.yml
    Then I have a config/locales/app.pt-BR.yml
    Then I have a config/initializers/locale.rb
    Then I have the file config/application.rb and contents of this file should include:
      """
      config.time_zone = ENV.fetch('TZ', 'Brasilia')
      """
    Then I have the file config/initializers/locale.rb and contents of this file should include:
      """
      I18n.load_path += Dir[Rails.root.join('config', 'locales', '*.{rb,yml}')]

      I18n.default_locale = :'pt-BR'
      I18n.locale = :'pt-BR'
      """

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pah-0.0.28 features/locale.feature
pah-0.0.27 features/locale.feature