title: Factory Girl: uninitialized constant
body: <p>I have a factory such as:</p>
  
  <pre><code>FactoryGirl.define do
    factory :page do
      title 'Fake Title For Page'
    end
  end
  </code></pre>
  
  <p>And a test:</p>
  
  <pre><code>describe "LandingPages" do
      it "should load the landing page with the correct data" do
          page = FactoryGirl.create(:page)
          visit page_path(page)
      end
  end
  </code></pre>
  
  <p>My spec_helper.rb contains:</p>
  
  <pre><code>require 'factory_girl_rails' 
  </code></pre>
  
  <p>and yet I keep getting:</p>
  
  <pre><code>LandingPages should load the landing page with the correct data
       Failure/Error: page = FactoryGirl.create(:page)
       NameError:
         uninitialized constant Page
       # ./spec/features/landing_pages_spec.rb:5:in `block (2 levels) in &lt;top (required)&gt;'
  </code></pre>
  
  <p>This is a new project, so I don't believe the test is actually the problem. I believe it could be setup incorrectly. Any ideas on things to try and/or where to look to resolve this?</p>
  
  <p>My uneventful pages.rb file:</p>
  
  <pre><code>class Pages &lt; ActiveRecord::Base
    # attr_accessible :title, :body
  end
  </code></pre>