spec/ziptz_spec.rb in ziptz-1.0.7 vs spec/ziptz_spec.rb in ziptz-1.0.8

- old
+ new

@@ -36,14 +36,14 @@ describe '#zips' do context 'when given a time zone' do let(:ziptz) { Ziptz.new } it 'returns an array of zip codes' do - expect(ziptz.zips('American Samoa')).to eq %w(96799 96941 96942 96943 96944) + expect(ziptz.zips('American Samoa')).to eq %w(96799) end it 'is case-insensitive' do - expect(ziptz.zips('american samoa')).to eq %w(96799 96941 96942 96943 96944) + expect(ziptz.zips('american samoa')).to eq %w(96799) end it 'returns nil for unknown time zones' do expect(ziptz.zips('Glark')).to be_nil end