interior 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/interior/geocoder.rb +2 -1
- data/lib/interior/version.rb +1 -1
- data/spec/lib/interior/geocoder_spec.rb +8 -0
- metadata +3 -3
data/lib/interior/geocoder.rb
CHANGED
data/lib/interior/version.rb
CHANGED
@@ -111,6 +111,14 @@ describe Interior::Geocoder do
|
|
111
111
|
{ :name => 'Ute', :id => 31 } ]
|
112
112
|
end
|
113
113
|
end
|
114
|
+
|
115
|
+
context('when state cannot be found') do
|
116
|
+
let(:st) { 'INVALID' }
|
117
|
+
|
118
|
+
it 'returns an empty array' do
|
119
|
+
subject.should == []
|
120
|
+
end
|
121
|
+
end
|
114
122
|
end
|
115
123
|
|
116
124
|
describe '#build_trs_param' do
|
metadata
CHANGED