title: Rspec/FactoryGirl: NoMethodError: undefined method 'description' for true:TrueClass
body: <p>exchange <em>communidad</em>. I am trying to write a feature test for my RoR program, but am getting the following error when I run <code>rspec</code>: </p>
  
  <pre><code> Failure/Error: page.should have_content entry.description
   NoMethodError:
     undefined method `description' for true:TrueClass
  </code></pre>
  
  <p>Here is the context in which the error is being thrown:</p>
  
  <pre><code>   entries.each do |entry|
       page.should have_content entry.description
  
    end
  </code></pre>
  
  <p>where <code>entries</code> is defined earlier in the same test as follows:</p>
  
  <pre><code>   entries = 5.times.map do
  
       FactoryGirl.create(:entry, project_id: proj.id, :date =&gt; 9/10/13, :type_of_work =&gt; 'chump', :description =&gt; 'chumpin',
                         :phase =&gt; 'Draft', :status =&gt; 'Draft' , :on_off_site =&gt; 'off', :user_id  =&gt; 1, :start_time =&gt; now,
                         :end_time =&gt;  later).should be_valid
     end
  </code></pre>
  
  <p><code>Entry</code> is a model which has an attribute of type string called <code>description</code> which is what I am testing against and what is returning the true:TrueClass nonsense. </p>
  
  <p>Any leads? Thank you kindly!</p>