title: I can't test the visibility of elements rendered in my backbone view
body: <p>I'm working on a Backbone.js application and while adding tests with <a href="http://tinnedfruit.com/2011/04/26/testing-backbone-apps-with-jasmine-sinon-3.html" rel="noreferrer">Jasmine &amp; Sinon</a> I had problems to determine the visibility of some DOM elements: some of them where detected as not visible in the tests while I could see them correctly in my application.</p>
  
  <p>I created a small example that replicates the problem, the same test is run twice on two sets of elements:</p>
  
  <ul>
  <li>the first set is present directly in SpecRunner.html</li>
  <li>the second one has been rendered as a Backbone view</li>
  </ul>
  
  <p>The test itself is using <code>jQuery.is(':visible')</code> (via jasmine-jquery's <code>.toBeVisible()</code>) to know if elements are visible or not. It passes for the first set, not for the second one.</p>
  
  <p>I shared the code here as a github project : <a href="https://github.com/maximevaly/3789_js" rel="noreferrer">https://github.com/maximevaly/3789_js</a></p>
  
  <p>I guess I forgot something, or maybe misused a library, but I can't put my finger on it so if you have any clue... :)</p>
  
  <p>Thanks!
  Maxime</p>