Sha256: 14561822501ed38d529eb2ee39b46ca3e5a5c21f62747b970c82010c7c3bc5ed

Contents?: true

Size: 534 Bytes

Versions: 6

Compression:

Stored size: 534 Bytes

Contents

RSpec.describe 'locale:' do

  Dir.glob('config/locales/*.yml') do |locale_file|
    context locale_file do
      it { is_expected.to be_parseable }
      it { is_expected.to have_valid_pluralization_keys }
      it { is_expected.not_to have_missing_pluralization_keys }
      it { is_expected.to have_one_top_level_namespace }
      it { is_expected.not_to have_legacy_interpolations }
      it { is_expected.to have_a_valid_locale }
      it { is_expected.to be_a_complete_translation_of 'config/locales/en.yml' }
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
post_clerk-0.6 spec/translations/locale_spec.rb
post_clerk-0.5 spec/translations/locale_spec.rb
spree_postal_service-2.4.0 spec/translations/locale_spec.rb
spree_postal_service-2.3.1 spec/translations/locale_spec.rb
spree_postal_service-2.3.0 spec/translations/locale_spec.rb
post_clerk-0.4 spec/translations/locale_spec.rb