title: how can I test accepts_nested_attributes_for with Rspec Rails3
body: <p>I have a model as follows:</p>
  
  <pre><code>class Greeting &lt; ActiveRecord::Base
  
    attr_accessible :headline, :icon, :content
  
    belongs_to :user
  
  
    accepts_nested_attributes_for :user, :reject_if =&gt; proc { |a| a[:name].blank? || a[:email].blank? } 
  </code></pre>
  
  <p>How can I do an Rspec test for this?</p>