title: FactoryGirl creating multiple records
body: <p>I'm trying to get in the habit of writing specs, however, this is becoming increasingly frustrating. </p>
  
  <p>Assume I have two simple models: <code>User</code> and <code>Story</code>. Each model uses a <code>belongs_to</code> relation. Each model uses a <code>validates :foo_id, presence: true</code> as well. </p>
  
  <p>However, FactoryGirl is creating multiple records.</p>
  
  <pre><code>FactoryGirl.define do
    factory :user do
      email "foo@bar.com"
      password "foobarfoobar"
    end # this creates user_id: 1
  
    factory :story do
      title "this is the title"
      body "this is the body"
      user # this creates user_id: 2
    end
  end
  </code></pre>
  
  <p>This simple test fails:</p>
  
  <pre><code>require 'rails_helper'
  
  describe Story do
  
    let(:user) { FactoryGirl.create(:user) }
    let(:story) { FactoryGirl.create(:story) }
  
    it 'should belong to User' do
      story.user = user
      expect(story.user).to eq(user)
    end
  end
  </code></pre>
  
  <p>What am I missing here? I cannot build a <code>Story</code> factory without a <code>User</code>, yet I need it to be just one <code>User</code> record.</p>