Sha256: caa967678a9978792d71242d28887ab6ece3c903e6df8bf3e1289d9b73a47f41

Contents?: true

Size: 191 Bytes

Versions: 11

Compression:

Stored size: 191 Bytes

Contents

require "spec_helper"

describe Mongoid::Geospatial::Box do

  it "should work" do
    alarm = Alarm.new(area: [[1,2], [3,4]])
    alarm.area.should be_a Mongoid::Geospatial::Box
  end


end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mongoid_geospatial-3.1.0 spec/mongoid_geospatial/fields/box_spec.rb
mongoid_geospatial-3.0.0 spec/mongoid_geospatial/fields/box_spec.rb
mongoid_geospatial-2.8.3 spec/mongoid_geospatial/fields/box_spec.rb
mongoid_geospatial-2.8.2 spec/mongoid_geospatial/fields/box_spec.rb
mongoid_geospatial-2.8.1 spec/mongoid_geospatial/fields/box_spec.rb
mongoid_geospatial-2.8.0 spec/mongoid_geospatial/fields/box_spec.rb
mongoid_geospatial-2.7.2 spec/mongoid_geospatial/fields/box_spec.rb
mongoid_geospatial-2.7.1 spec/mongoid_geospatial/fields/box_spec.rb
mongoid_geospatial-2.7.0 spec/mongoid_geospatial/fields/box_spec.rb
mongoid_geospatial-2.5.1 spec/mongoid_geospatial/fields/box_spec.rb
mongoid_geospatial-2.5.0 spec/mongoid_geospatial/fields/box_spec.rb