spec/factories/physical_road.rb in active_road-0.0.2 vs spec/factories/physical_road.rb in active_road-0.0.3

- old
+ new

@@ -1,9 +1,8 @@ FactoryGirl.define do factory :physical_road, :class => ActiveRoad::PhysicalRoad do - sequence(:objectid) { |n| "physicalroad::#{n}" } - logical_road + sequence(:objectid) { |n| "physical_road::#{n}" } geometry { GeoRuby::SimpleFeatures::LineString.from_points [GeoRuby::SimpleFeatures::Point.from_x_y(0, 0, ActiveRoad.srid), GeoRuby::SimpleFeatures::Point.from_x_y(1, 1, ActiveRoad.srid)] } end end