Sha256: f12f0a0251f0af3527e72a7d8bb84e1d338d9858d03b6d5af385a6c801fdb059

Contents?: true

Size: 653 Bytes

Versions: 17

Compression:

Stored size: 653 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

# Time to add your specs!
# http://rspec.info/
describe "GeoRuby Stuff" do

  it "should instantiate Geometry" do
    @geo = GeoRuby::SimpleFeatures::Geometry.new
    @geo.class.should eql(Geometry)
  end

  it "should instantiate from SimpleFeatures for compatibility" do
    @geo = GeoRuby::SimpleFeatures::Geometry.new
    @geo.class.should eql(Geometry)
  end

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

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

end

Version data entries

17 entries across 17 versions & 4 rubygems

Version Path
nofxx-georuby-1.3.9 spec/geo_ruby_spec.rb
nofxx-georuby-1.6.0 spec/geo_ruby_spec.rb
nofxx-georuby-1.6.1 spec/geo_ruby_spec.rb
nofxx-georuby-1.6.2 spec/geo_ruby_spec.rb
georuby-1.9.9 spec/geo_ruby_spec.rb
georuby-1.9.8 spec/geo_ruby_spec.rb
georuby-1.9.7 spec/geo_ruby_spec.rb
georuby-1.9.6 spec/geo_ruby_spec.rb
georuby-1.9.5 spec/geo_ruby_spec.rb
georuby-1.9.3 spec/geo_ruby_spec.rb
nofxx-georuby-1.9.2 spec/geo_ruby_spec.rb
nofxx-georuby-1.9.1 spec/geo_ruby_spec.rb
nofxx-georuby-1.9.0 spec/geo_ruby_spec.rb
nofxx-georuby-1.7.3 spec/geo_ruby_spec.rb
georuby_remake-1.0.0 spec/geo_ruby_spec.rb
ppe-georuby-1.7.2 spec/geo_ruby_spec.rb
nofxx-georuby-1.7.1 spec/geo_ruby_spec.rb