Sha256: 86388be5b21af17796628ec3db53887fb0f82a907b46330eb3ac6bfbf4a90be6
Contents?: true
Size: 460 Bytes
Versions: 1
Compression:
Stored size: 460 Bytes
Contents
require 'spec_helper' describe Carousel::Shipping do describe '.map' do context 'with the code within the shipping map' do it 'returns the value for the given key' do expect(Carousel::Shipping.map("standard")).to eq("ECONOMY") end end context 'with the code not in the shipping map' do it 'returns the given code' do expect(Carousel::Shipping.map("first-class")).to eq("first-class") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
carousel-ruby-api-0.0.3 | spec/lib/shipping_spec.rb |