Sha256: 021e1c8824a4d419aceee49e2395d7638025d82042d51039b75e289b0168e1c8
Contents?: true
Size: 541 Bytes
Versions: 1
Compression:
Stored size: 541 Bytes
Contents
describe Unidom::Shopping::ShoppingItem, type: :model do before :each do end after :each do end context do model_attributes = { shopping_cart_id: SecureRandom.uuid, shopper_id: SecureRandom.uuid, shopper_type: 'Unidom::Shopping::Shopper', shopped_id: SecureRandom.uuid, shopped_type: 'Unidom::Shopping::Shopped', unit_price: 12.00, quantity: 5.00 } it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unidom-shopping-1.7 | lib/rspec/models/unidom/shopping/shopping_item_spec.rb |