title: RSpec requires me to print object before test can pass
body: <p>I have a simple model test where I am testing my validations and for some reason I need to print the object before my test can pass.</p>
  
  <p>The following test fails (failed output shown below):</p>
  
  <pre><code>RSpec.describe HealthProfile, type: :model do
      let(:client) { create(:client) }
      let(:intro_hp) { create(:health_profile, :no_callbacks, :with_issues, client_id: client.id)}
  
      describe "should validate that" do
  
          it "diabetes is required in exit if present in intro" do
              exit_hp = build(:health_profile, :end, :no_callbacks, client_id: client.id)
              exit_hp.valid?
  
              expect(exit_hp.errors.keys).to include(:diabetic)
  
          end
  
      end
  end
  
  Failures:
  
    1) HealthProfile should validate that diabetes is required in exit if present in intro
       Failure/Error: expect(exit_hp.errors.keys).to include(:diabetic)
  
         expected [:weight_mindset_one, :weight_mindset_two, :weight_mindset_three] to include :diabetic
         Diff:
         @@ -1,2 +1,2 @@
         -[:diabetic]
         +[:weight_mindset_one, :weight_mindset_two, :weight_mindset_three]
  
       # ./spec/models/health_profile_spec.rb:14:in `block (3 levels) in &lt;top (required)&gt;'
  </code></pre>
  
  <p>After adding a print statement, <code>p intro_hp</code>, the same test passes:</p>
  
  <pre><code>RSpec.describe HealthProfile, type: :model do
      let(:client) { create(:client) }
      let(:intro_hp) { create(:health_profile, :no_callbacks, :with_issues, client_id: client.id)}
  
      describe "should validate that" do
  
          it "diabetes is required in exit if present in intro" do
              exit_hp = build(:health_profile, :end, :no_callbacks, client_id: client.id)
              p intro_hp
              exit_hp.valid?
  
              expect(exit_hp.errors.keys).to include(:diabetic)
  
          end
  
      end
  end
  </code></pre>
  
  <p>Why is this occurring and how can I avoid it?</p>