title: Jasmine tests check if html contains text and return boolean
body: <pre><code>expect(view.$el.html()).toContain('Admin');
  </code></pre>
  
  <p>The view does contain the word 'Admin' so I was expecting it to return true. How can I achieve this?</p>
  
  <pre><code>expect(view.$el.html()).toContain('Admin');
  </code></pre>
  
  <p>This returns <code>undefined</code>. How can I make it return <code>true</code>?</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;header class="main"&gt;
    &lt;div id="heading"&gt;
      &lt;ul class="header-view right"&gt;
        &lt;li class="inline"&gt;&lt;a href="#link" class="button help-btn tab-btn"&gt;&lt;span&gt;  &lt;/span&gt;Help&lt;/a&gt;&lt;/li&gt;
        &lt;li class="inline last"&gt;&lt;a href="#og" class="button admin-btn tab-btn expand-admin"&gt;&lt;span&gt;&lt;/span&gt;Admin&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;
  &lt;/header&gt;
  </code></pre>
  
  <p>This is what is returned from <code>view.$el.html</code> </p>
  
  <p>Please help.</p>