Sha256: 38a39aa76e64ea6dfe313c19853c8c5340c33396a1ba9adc903d955a34b238c2

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

include ActionDispatch::TestProcess

FactoryGirl.define do
  factory :scap_content, :class => Scaptimony::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 => Scaptimony::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.3.4 test/factories/scap_content_related.rb