Sha256: 27de9de9c6794d2865cd89f437529a2f40278b71095219d0215296ae0f719e13
Contents?: true
Size: 671 Bytes
Versions: 1
Compression:
Stored size: 671 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 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unidom-category-1.6.4 | lib/rspec/models/unidom/category/categorizing_spec.rb |