Sha256: 2c0f719352b8fb1d768b93b1ec601b4b994115f8d7851c59d9c00dc7eac69b62

Contents?: true

Size: 396 Bytes

Versions: 3

Compression:

Stored size: 396 Bytes

Contents

require 'spec_helper'
require 'i18n-spec'

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

3 entries across 3 versions & 1 rubygems

Version Path
stationed-0.6.0 lib/stationed/generators/templates/i18n_spec.rb
stationed-0.5.0 lib/stationed/generators/templates/i18n_spec.rb
stationed-0.4.0 lib/stationed/generators/templates/i18n_spec.rb