Sha256: b43b9f9f6ab62ffeed0357e87c803e9c96caabf94198bb980be3231d58b9540c

Contents?: true

Size: 418 Bytes

Versions: 2

Compression:

Stored size: 418 Bytes

Contents

describe Unidom::Shopping::ShoppingCart, type: :model do

  before :each do
  end

  after :each do
  end

  context do

    model_attributes = {
      shopper_id:   SecureRandom.uuid,
      shopper_type: 'Unidom::Shopping::Shopper',
      shop_id:      SecureRandom.uuid,
      shop_type:    'Unidom::Shopping::Shop'
    }

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

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
unidom-shopping-1.7.1 lib/rspec/models/unidom/shopping/shopping_cart_spec.rb
unidom-shopping-1.7 lib/rspec/models/unidom/shopping/shopping_cart_spec.rb