Sha256: 02ac03edf71cd4a7a61d53be2141084affe23959b9b97a2190bf0bf886d2c3aa

Contents?: true

Size: 512 Bytes

Versions: 1

Compression:

Stored size: 512 Bytes

Contents

include ActionDispatch::TestProcess

FactoryGirl.define do
  factory :scap_content, :class => ::ForemanOpenscap::ScapContent do |f|
    f.title 'fedora'
    f.original_filename 'fedora ds'
    f.scap_file { File.new('../foreman_openscap/test/files/scap_contents/ssg-fedora-ds.xml', 'rb').read }
  end

  factory :scap_content_profile, :class => ::ForemanOpenscap::ScapContentProfile do |f|
    f.scap_content
    f.profile_id 'xccdf_org.test.common_test_profile'
    f.title 'test Profile for testing'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foreman_openscap-0.5.0 test/factories/scap_content_related.rb