Sha256: ba6462394831f4a84686232d0fe28f1fe2bde0e385220bce72bf30f27dcaa717

Contents?: true

Size: 494 Bytes

Versions: 7

Compression:

Stored size: 494 Bytes

Contents

require 'spec_helper'

describe 'locale:' do
  Dir.glob('config/locales/*.yml') do |locale_file|
    context 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 }
      it { should be_a_complete_translation_of 'config/locales/en.yml' }
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spree_postal_service-2.0.1 spec/translations/locale_spec.rb
spree_postal_service-2.2.0 spec/translations/locale_spec.rb
spree_postal_service-2.1.0 spec/translations/locale_spec.rb
spree_postal_service-2.0.0 spec/translations/locale_spec.rb
spree_postal_service-1.3.0 spec/translations/locale_spec.rb
spree_postal_service-1.2.0 spec/translations/locale_spec.rb
spree_postal_service-1.1.2 spec/translations/locale_spec.rb