Revision 67e15119
Added by David Davis about 10 years ago
test/factories/content_view_factory.rb | ||
---|---|---|
sequence(:name) { |n| "Database#{n}" }
|
||
description "This content view is for database content"
|
||
association :organization, :factory => :katello_organization
|
||
|
||
trait :with_definition do
|
||
association :content_view_definition,
|
||
:factory => :katello_content_view_definition
|
||
end
|
||
|
||
factory :katello_content_view_with_definition, :traits => [:with_definition]
|
||
end
|
||
|
||
end
|
Also available in: Unified diff
Content Views: Remove a few old references to content view defs