Sha256: 846e3655f57781b053646624da61e353975e1f6b8863afb15fdb1fffc434f868

Contents?: true

Size: 557 Bytes

Versions: 9

Compression:

Stored size: 557 Bytes

Contents

describe Unidom::Inventory::ItemIssuing, type: :model do

  before :each do
  end

  after :each do
  end

  context do

    model_attributes = {
      inventory_item_id:   SecureRandom.uuid,
      inventory_item_type: 'Unidom::Inventory::InventoryItem::Mock',
      target_item_id:      SecureRandom.uuid,
      target_item_type:    'Unidom::Inventory::TargetItem::Mock',
      pick_item_id:        SecureRandom.uuid,
      quantity:            120.000000
    }

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

  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
unidom-inventory-2.0.1 lib/rspec/models/unidom/inventory/item_issuing_spec.rb
unidom-inventory-2.0 lib/rspec/models/unidom/inventory/item_issuing_spec.rb
unidom-inventory-1.0.5 lib/rspec/models/unidom/inventory/item_issuing_spec.rb
unidom-inventory-1.0.4 lib/rspec/models/unidom/inventory/item_issuing_spec.rb
unidom-inventory-1.0.3 lib/rspec/models/unidom/inventory/item_issuing_spec.rb
unidom-inventory-1.0.2 lib/rspec/models/unidom/inventory/item_issuing_spec.rb
unidom-inventory-1.0.1 lib/rspec/models/unidom/inventory/item_issuing_spec.rb
unidom-inventory-1.0 lib/rspec/models/unidom/inventory/item_issuing_spec.rb
unidom-inventory-0.8 lib/rspec/models/unidom/inventory/item_issuing_spec.rb