Sha256: e5836c0661b24a7b30e1202cafa447b532d839a3811c424c7c471ad6a4361200
Contents?: true
Size: 523 Bytes
Versions: 13
Compression:
Stored size: 523 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper.rb' describe "ActsAsGeom" do before(:each) do class DiffColumn < ActiveRecord::Base acts_as_geom :ponto end class NotInDb < ActiveRecord::Base acts_as_geom :geom end end it "should get the geom type" do City.get_geom_type(:geom).should eql(:polygon) end it "should not interfere with migrations" do NotInDb.get_geom_type(:geom).should be_nil end it "should query a diff column name" do # DiffColumn end end
Version data entries
13 entries across 13 versions & 2 rubygems