Sha256: be0c2fea0ec352f65382ae98a043c8c5d376c7cb4d234f4be75b7a316d8dac63
Contents?: true
Size: 629 Bytes
Versions: 3
Compression:
Stored size: 629 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') # Time to add your specs! # http://rspec.info/ describe GeoRuby do it 'should instantiate Geometry' do @geo = GeoRuby::SimpleFeatures::Geometry.new expect(@geo.class).to eql(::GeoRuby::SimpleFeatures::Geometry) end it 'should instantiate Point' do @point = GeoRuby::SimpleFeatures::Point.new expect(@point).to be_instance_of(::GeoRuby::SimpleFeatures::Point) end it 'should instantiate Line' do @line = GeoRuby::SimpleFeatures::LineString.new expect(@line).to be_instance_of(::GeoRuby::SimpleFeatures::LineString) end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
geekdaily-georuby-2.6.0 | spec/geo_ruby_spec.rb |
georuby-2.5.2 | spec/geo_ruby_spec.rb |
georuby-2.5.1 | spec/geo_ruby_spec.rb |