Sha256: 97b2b8679041f32e4279eb46983bba6649a2ece68836623e9e379ce6f4ed4074
Contents?: true
Size: 305 Bytes
Versions: 52
Compression:
Stored size: 305 Bytes
Contents
FactoryBot.define do factory :asset, :class => ::ForemanOpenscap::Asset do |f| f.assetable_id { FactoryBot.create(:host).id } f.assetable_type { 'Host::Base' } end factory :asset_policy, :class => ForemanOpenscap::AssetPolicy do |f| f.asset_id { nil } f.policy_id { nil } end end
Version data entries
52 entries across 52 versions & 1 rubygems