Sha256: aaf8ca61a5b394f796b08cf2078e458c81768083d9099c858845a5d5d0494d12
Contents?: true
Size: 476 Bytes
Versions: 2
Compression:
Stored size: 476 Bytes
Contents
RSpec.shared_examples_for "a valid locale file" do |locale_file| describe locale_file do it { is_expected.to be_parseable } it { is_expected.to have_valid_pluralization_keys } it { is_expected.to_not have_missing_pluralization_keys } it { is_expected.to have_one_top_level_namespace } it { is_expected.to be_named_like_top_level_namespace } it { is_expected.to_not have_legacy_interpolations } it { is_expected.to have_a_valid_locale } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
i18n-spec-0.6.0 | lib/i18n-spec/shared_examples/valid_locale_file.rb |
i18n-spec-0.5.2 | lib/i18n-spec/shared_examples/valid_locale_file.rb |