Sha256: eea2cac928c3d2c6ca6b966fd88b11adbedbec41cda13e1a599a5773d2fdfba6
Contents?: true
Size: 608 Bytes
Versions: 1
Compression:
Stored size: 608 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 set the geom constant" do # City::GEOMS[City].should eql([:geom]) end it "should query a diff column name" do # DiffColumn end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nofxx-postgis_adapter-0.3.9 | spec/postgis_adapter/acts_as_geom_spec.rb |