Sha256: 532c1144263d8bcaff447e339c66cc21a49cb9385ac6ee04eea2f0a7491eee57

Contents?: true

Size: 353 Bytes

Versions: 4

Compression:

Stored size: 353 Bytes

Contents

Dir.glob('config/locales/*.yml') do |locale_file|
  describe locale_file do
    it { should be_parseable }
    it { should have_valid_pluralization_keys }
    it { should_not have_missing_pluralization_keys }
    it { should have_one_top_level_namespace }
    it { should_not have_legacy_interpolations }
    it { should have_a_valid_locale }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stationed-0.3.0 lib/stationed/generators/templates/i18n_spec.rb
stationed-0.2.0 lib/stationed/generators/templates/i18n_spec.rb
stationed-0.1.0 lib/stationed/generators/templates/i18n_spec.rb
stationed-0.0.1 lib/stationed/generators/templates/i18n_spec.rb