Sha256: 83fab2076b3260d03e052d20e24f62d56bea451e735c3df0db98804c223f8d3f

Contents?: true

Size: 199 Bytes

Versions: 4

Compression:

Stored size: 199 Bytes

Contents

require 'spec_helper'

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mongoid-geospatial-5.1.0 spec/mongoid/geospatial/fields/circle_spec.rb
mongoid-geospatial-5.0.0 spec/mongoid/geospatial/fields/circle_spec.rb
mongoid-geospatial-4.0.1 spec/mongoid/geospatial/fields/circle_spec.rb
mongoid-geospatial-4.0.0 spec/mongoid/geospatial/fields/circle_spec.rb