Sha256: 22b2ea0b9d4311026d31e904f1f96064bb8eaa0cc779b94c7ea7624f7d2ef7dc
Contents?: true
Size: 662 Bytes
Versions: 1
Compression:
Stored size: 662 Bytes
Contents
describe Unidom::Inventory::GroupedInventoryItem, type: :model do before :each do end after :each do end context do model_attributes = { stored_id: SecureRandom.uuid, stored_type: 'Unidom::Inventory::Stored::Mock', store_id: SecureRandom.uuid, store_type: 'Unidom::Inventory::Store::Mock', lot_id: SecureRandom.uuid, quantity: 120.000000 } it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes it_behaves_like 'validates numericality', model_attributes, :quantity, range: 0..1_000_000_000, minimum_inclusive: true, maximum_inclusive: true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unidom-inventory-1.0.2 | lib/rspec/models/unidom/inventory/grouped_inventory_item_spec.rb |