Sha256: 2caf0bd50c50679929f7eca01a834eaf89c0c6a0cce4389d01c8587da321f4a0
Contents?: true
Size: 535 Bytes
Versions: 1
Compression:
Stored size: 535 Bytes
Contents
shared_examples 'Unidom::Geo::Concerns::AsLocated' do |model_attributes| locating_1_attribtues = { location_id: SecureRandom.uuid, locator_id: SecureRandom.uuid, locator_type: 'Unidom::Geo::Locator::Mock' } locating_2_attribtues = { location_id: SecureRandom.uuid, locator_id: SecureRandom.uuid, locator_type: 'Unidom::Geo::Locator::Mock' } it_behaves_like 'has_many', model_attributes, :locatings, Unidom::Geo::Locating, [ locating_1_attribtues, locating_2_attribtues ] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unidom-geo-1.5.6 | lib/rspec/models/unidom/geo/concerns/as_located_shared_examples.rb |