interior 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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