Sha256: 6ca4ccd45c864dcf49f7f36d07461fdfec3918bb92bbda0d85461fa6b60dc415
Contents?: true
Size: 293 Bytes
Versions: 24
Compression:
Stored size: 293 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
24 entries across 24 versions & 1 rubygems