title: RSpec empty? method
body: <p>Please tell me how to write a test for this method using Rspec</p>
  <pre><code>def to_s
      display_name.empty? ? legal_name : display_name
   end
  </code></pre>
  <p>I am new and just starting RSpec tests</p>
  <p>UPD</p>
  <p>My try:</p>
  <pre><code>describe &quot;display name&quot; do
      it &quot;display name empty&quot; do
        legal_name.to_s
        expect(display_name).to be_empty
      end
    end
  </code></pre>
  <p>Tried only one part check</p>
  <p>I understand that it is incorrect, but I tried many options</p>