Sha256: c67b27c5a72ec69d239129358fbc611778c36b567f1639d0ee3b4749905d6eec
Contents?: true
Size: 755 Bytes
Versions: 6
Compression:
Stored size: 755 Bytes
Contents
describe Unidom::Category::Categorizing, type: :model do before :each do end after :each do end context do model_attributes = { category_id: SecureRandom.uuid, categorized_id: SecureRandom.uuid, categorized_type: 'Unidom::Category::Categorized::Mock' } it_behaves_like 'Unidom::Common::Concerns::ModelExtension', model_attributes category_attributes = { scheme_id: SecureRandom.uuid, code: 'XC', name: 'Top Category', abbreviation: 'TopCat' } it_behaves_like 'belongs_to', model_attributes, :category, Unidom::Category::Category, category_attributes it_behaves_like 'monomorphic scope', model_attributes, :category_is, :category end end
Version data entries
6 entries across 6 versions & 1 rubygems