Sha256: 5c46fdd6461171bb4da26d60b5704e6d8e9a0ab1616882284d7e70af440a515b

Contents?: true

Size: 178 Bytes

Versions: 15

Compression:

Stored size: 178 Bytes

Contents

FactoryGirl.define do
  factory :asset, :class => ::ForemanOpenscap::Asset do |f|
    f.assetable_id { FactoryGirl.create(:host).id }
    f.assetable_type 'Host::Base'
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
foreman_openscap-0.7.1 test/factories/asset_factory.rb
foreman_openscap-0.6.7 test/factories/asset_factory.rb
foreman_openscap-0.7.0 test/factories/asset_factory.rb
foreman_openscap-0.6.6 test/factories/asset_factory.rb
foreman_openscap-0.6.5 test/factories/asset_factory.rb
foreman_openscap-0.6.4 test/factories/asset_factory.rb
foreman_openscap-0.6.3 test/factories/asset_factory.rb
foreman_openscap-0.6.2 test/factories/asset_factory.rb
foreman_openscap-0.6.1 test/factories/asset_factory.rb
foreman_openscap-0.6.0 test/factories/asset_factory.rb
foreman_openscap-0.5.4 test/factories/asset_factory.rb
foreman_openscap-0.5.3 test/factories/asset_factory.rb
foreman_openscap-0.5.2 test/factories/asset_factory.rb
foreman_openscap-0.5.1 test/factories/asset_factory.rb
foreman_openscap-0.5.0 test/factories/asset_factory.rb