FactoryGirl: how to combine together 2 traits setting the same association
<p>The following factory: </p>

<pre><code>FactoryGirl.define do    
  factory :program do
    trait :successful do
      status :success
      logs { build_list :program_log, 2, :success }
    end

    trait :uninstalled do
      successful
      logs { build_list :program_log, 1, :uninstall }
    end
  end
end
</code></pre>

<p>provides 2 traits. The <code>uninstalled</code> trait includes the <code>successful</code> trait, but the <code>logs</code> association is overridden when I use it. Is it possible to create a trait that will just append new logs to the mixed-in trait. In the case above, I would like to have the <code>uninstall</code> trait with 3 logs - 2 of success and 1 of uninstall</p>