title: ArgumentError: Factory not registered
body: <p>I'm trying to run rspec with FactoryGirl, but <strong>I keep getting this error</strong>:</p>
  
  <pre><code>1) Products Update with invalid information
       Failure/Error: let(:product) { FactoryGirl.create(:product) }
       ArgumentError:
         Factory not registered: product
       # ./spec/requests/products_spec.rb:47:in `block (3 levels) in &lt;top (required)&gt;'
       # ./spec/requests/products_spec.rb:52:in `block (3 levels) in &lt;top (required)&gt;'
  </code></pre>
  
  <p>-</p>
  
  <p>Here's <strong>the test with the error</strong> (spec/requests/products_spec.rb):</p>
  
  <pre><code>describe "Read" do
      let(:product) { FactoryGirl.create(:product) }
      before { visit product_path(product) }
      it { should have_text(product.title) }
  end
  </code></pre>
  
  <p>-</p>
  
  <p>Here's <strong>the factory</strong> (spec/factories.rb):</p>
  
  <pre><code>FactoryGirl.define do
      factory :product do
          title "Lorem ipsum"
          description "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce vitae ipsum consectetur, semper dolor sed, dignissim enim."
          image_url "lorem.png"
          price 9.95
      end
  end
  </code></pre>
  
  <p>-</p>
  
  <p>I <strong>restarted the server</strong> (with Spork and Guard) and nothing changed, though I may not be restarting Spork/Guard correctly.</p>
  
  <p>-</p>
  
  <p>I <strong>do have require 'factory_girl' in my spec/spec_helper.rb.</strong></p>
  
  <p>-</p>
  
  <p>Here's my <strong>Gemfile</strong>. Note that <strong>I am using "factory_girl_rails"</strong> in my Gemfile:</p>
  
  <pre><code>source 'https://rubygems.org'
  
  gem 'rails', '4.1.1'
  gem 'sass-rails', '~&gt; 4.0.3'
  gem 'uglifier', '&gt;= 1.3.0'
  gem 'coffee-rails', '~&gt; 4.0.0'
  gem 'jquery-rails'
  gem 'turbolinks'
  gem 'jbuilder', '~&gt; 2.0'
  # gem 'bcrypt', '~&gt; 3.1.7'
  
  group :development do
      gem 'spring'
    gem 'sqlite3', '1.3.8'
    gem 'minitest'
    gem 'rspec-rails', '2.13.1'
    gem 'guard-rspec', '2.5.0'
    gem 'spork-rails', '4.0.0'
    gem 'guard-spork', '1.5.0'
  end
  
  group :test do
      gem 'selenium-webdriver', '2.35.1'
    gem 'capybara', '2.1.0'
    gem 'growl', '1.0.3'
    gem 'factory_girl_rails', '4.2.1'
  end
  
  group :production do
    gem 'pg', '0.15.1'
    gem 'rails_12factor', '0.0.2'
  end
  
  group :doc do
    gem 'sdoc', '0.4.0', require: false
  end
  </code></pre>
  
  <p>-</p>
  
  <p>Can you find the error?</p>