test/primitive_spec.rb in terraformer-0.0.7 vs test/primitive_spec.rb in terraformer-0.0.8
- old
+ new
@@ -38,9 +38,15 @@
[100.0008983152841, -0.0008983152838976],
[99.99910168471585, -0.0008983152838976]]
bbox.must_equal expected
end
+ it 'works on features' do
+ wc = Terraformer.parse EXAMPLES[:waldocanyon]
+ bbox = wc.bbox
+ bbox.dont_be_terrible_ok
+ end
+
end
describe 'to_json' do
it 'returns a geojson object' do