Sha256: 5438ff19313036bc5eb595f8f38c36d0753aa197f8c24354e50b3e105d6aabd1
Contents?: true
Size: 518 Bytes
Versions: 5
Compression:
Stored size: 518 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 expect(@config.mapping_data.count).to eq 48 end end end end
Version data entries
5 entries across 5 versions & 1 rubygems