Sha256: 9c7c8d93e9033c9b2a7cda213810e9d6ff3d7df1982da36d35ed812a5de56169
Contents?: true
Size: 270 Bytes
Versions: 4
Compression:
Stored size: 270 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper.rb' describe "ActsAsGeom" do before(:each) do class City < ActiveRecord::Base acts_as_geom :geom end end it "should get the geom type" do City.get_geom_type(:geom).should eql(:polygon) end end
Version data entries
4 entries across 4 versions & 2 rubygems