Sha256: 9c0eefa463564f60fa717bdff6796d50fdd60c8829221a1dc9b2fea21bdab139

Contents?: true

Size: 619 Bytes

Versions: 3

Compression:

Stored size: 619 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
    @geo.class.should eql(::GeoRuby::SimpleFeatures::Geometry)
  end

  it "should instantiate Point" do
    @point = GeoRuby::SimpleFeatures::Point.new
    @point.should be_instance_of(::GeoRuby::SimpleFeatures::Point)
  end

  it "should instantiate Line" do
    @line = GeoRuby::SimpleFeatures::LineString.new
    @line.should be_instance_of(::GeoRuby::SimpleFeatures::LineString)
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
georuby-2.2.1 spec/geo_ruby_spec.rb
georuby-2.2.0 spec/geo_ruby_spec.rb
georuby-2.0.0 spec/geo_ruby_spec.rb