Sha256: 6ffea3bab3eec83c0f4d9aad2f1553daec8e600339c164a58e789b3bb6e973a5
Contents?: true
Size: 428 Bytes
Versions: 4
Compression:
Stored size: 428 Bytes
Contents
require 'spec_helper' describe Carousel::Country do describe '.map' do context 'with the code in the COUNTRY_MAP' do it 'returns the value for the given code' do expect(Carousel::Country.map("US")).to eq("US") end end context 'without the code in the COUNTRY_MAP' do it 'returns the given code' do expect(Carousel::Country.map("AAA")).to eq("AAA") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems