Sha256: 1aeae3847d2e0b310ea9c3460f5b32d81a924958c1c7ee4f9ab9d12587b9da77

Contents?: true

Size: 626 Bytes

Versions: 1

Compression:

Stored size: 626 Bytes

Contents

describe Unidom::Geo::Location, type: :model do

  before :each do
  end

  after :each do
  end

  context do

    model_attributes = {
      region_id:         SecureRandom.uuid,
      region_type:       'Unidom::Geo::Region::Mock',
      longitude:         120.000000,
      latitude:          31.000000,
      postal_address:    'Somewhere',
      postal_code:       '812345',
      minimum_longitude: 119.990000,
      minimum_latitude:  30.990000,
      maximum_longitude: 120.010000,
      maximum_latitude:  31.010000
    }

    it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unidom-geo-1.5 lib/rspec/models/unidom/geo/location_spec.rb