Sha256: 774145383e15450e78d52278030be9ac4a22f07f98d5861f25e752339cdd82b3

Contents?: true

Size: 324 Bytes

Versions: 5

Compression:

Stored size: 324 Bytes

Contents

shared_examples 'Unidom::Inventory::Concerns::AsInventoryItem' do |model_attributes|

  context do

    lot_attributes = {
      identification_number: '123456789012',
      quantity:              120.000000
    }

    it_behaves_like 'belongs_to', model_attributes, :lot, Unidom::Inventory::Lot, lot_attributes

  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
unidom-inventory-2.0.1 lib/rspec/models/unidom/inventory/concerns/as_inventory_item_shared_examples.rb
unidom-inventory-2.0 lib/rspec/models/unidom/inventory/concerns/as_inventory_item_shared_examples.rb
unidom-inventory-1.0.5 lib/rspec/models/unidom/inventory/concerns/as_inventory_item_shared_examples.rb
unidom-inventory-1.0.4 lib/rspec/models/unidom/inventory/concerns/as_inventory_item_shared_examples.rb
unidom-inventory-1.0.3 lib/rspec/models/unidom/inventory/concerns/as_inventory_item_shared_examples.rb