Sha256: 3c2bb04375cd691bdd845411b92b61c6520db194c7daff72c350170f3f14ed38

Contents?: true

Size: 220 Bytes

Versions: 15

Compression:

Stored size: 220 Bytes

Contents

FactoryGirl.define do
  factory :compliance_log, :class => :log do
    result "fail"
    report
    level_id 1
    source nil
    after(:build) do |log|
      log.message = FactoryGirl.create(:message)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

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