Sha256: 66f5ece32604a27209484dc018467ddd7776c4ab0155519a45eba1eed22527ba
Contents?: true
Size: 514 Bytes
Versions: 4
Compression:
Stored size: 514 Bytes
Contents
# coding: utf-8 require 'spec_helper' describe JpPrefecture::Config do describe '#mapping_data' do context 'カスタマイズされたprefecture.ymlを使うとき' do before do filepath = File.join(File.dirname(__FILE__), 'fixtures/prefecture.yml') @config = described_class.new @config.mapping_data = YAML.load_file filepath end it '都道府県+海外の数が48であること' do @config.mapping_data.count.should eq 48 end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jp_prefecture-0.7.0 | spec/config_spec.rb |
jp_prefecture-0.6.0 | spec/config_spec.rb |
jp_prefecture-0.5.0 | spec/config_spec.rb |
jp_prefecture-0.4.0 | spec/config_spec.rb |