Sha256: 3c18ee2861f1eb68c940d356aee4a781d387a43e38ef0c04bc74553e17427097
Contents?: true
Size: 374 Bytes
Versions: 16
Compression:
Stored size: 374 Bytes
Contents
FactoryGirl.define do factory :compliance_log, :class => :log do result "fail" association :report level_id 1 association :source association :message end factory :compliance_message, :class => :message do sequence(:value) { |n| "message#{n}" } after(:build) do |msg| msg.digest = Digest::SHA1.hexdigest(msg.value) end end end
Version data entries
16 entries across 16 versions & 1 rubygems