Sha256: df521b35d0a40d716998b39b2358f677ba96c42bd6fc52e1023bd1e8b810ef3c

Contents?: true

Size: 197 Bytes

Versions: 12

Compression:

Stored size: 197 Bytes

Contents

require "spec_helper"

describe Mongoid::Geospatial::Circle do

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


end

Version data entries

12 entries across 12 versions & 1 rubygems

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