title: How to create an association in a miniskirt factory?
body: <p>I'm writing tests with minitest and trying to use miniskirt to handle factories in my rails app. I'm having trouble creating an assocation between my user model and my other models. Since miniskirt does not have <code>Factory#association</code> like factory girl how do you create the association? I'm trying this:</p>
  
  <pre><code>Factory.define :user do |f|
    f.email "joey@ramones.com"
    f.password f.password_confirmation("rockaway")
  end
  
  Factory.define :song do |f|
    f.title "I Wanna Be Sedated"
    f.artist "Ramones"
    f.credits "Recorded on February 12-19, 1976 at Plaza Sound, Radio City Music Hall in New York City for Sire Records. All Songs by The Ramones."
    f.artwork "name-of-the-file.jpg"
    f.user { Factory :user }
  end
  </code></pre>
  
  <p>But the following test keeps failing as <code>Validation failed: User can't be blank</code>:</p>
  
  <pre><code>require "test_helper"
  
  describe Song do
    it "has a valid factory" do
      Factory.create :song
    end
  end
  </code></pre>