Sha256: 22cd948a90f192ff4525614257016a8feb14292e4f6a558a007d3d4f353ed7f0
Contents?: true
Size: 420 Bytes
Versions: 17
Compression:
Stored size: 420 Bytes
Contents
# coding: utf-8 require 'spec_helper' describe ISO3166::Subdivision do let(:countries) { ISO3166::Country.all } let(:available_types) { [Hash, NilClass] } describe 'translations' do it 'should be hash or nil' do countries.each do |country| country.subdivisions.each do |_, region| expect(available_types).to include(region.translations.class) end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems