title: Grunt qunit fails but browser version works just fine
body: <p>I'm using latest versions of grunt, qunit with the folowing test:</p>
  
  <pre><code>  module('jQuery#FilteringTool', {
  
      setup: function() {
        this.elems = $('#qunit-fixture').children();
        $(this.elems).FilteringTool();
      }
    });
  
    asyncTest('load remote content', function(){
      var $this = this;
      window.setTimeout( function(){
        ok( $('#qunit-fixture .carouselItem').length &gt; 0, "items are in place" );
        start();
      }, 50 );
  
    });
  </code></pre>
  
  <p>The plugin <code>FilterinTool</code> works fine, running tests in the browser works fine but running tests whithin grunt will fail. I'm fairly new to TDD world, and i don't understand what the hell i'm doing wrong?</p>
  
  <p>Tested code is this:</p>
  
  <pre><code>(function( $, document ){
    var FilteringTool = {
      init: function( el, o ){
        var $this = this;
        $this.el = $( el );
        $this.ajaxUrl = $(el).data('ajax-url');
        $this.loadItems();
      } // init
  
      ,loadItems: function(params){
        var $this = this;
        $.getJSON( $this.ajaxUrl, $.proxy( $this.populateFields, $this ) );
      }//loadItems
  
      ,populateFields: function( data ){
        var $this = this;
        $('.filtered-items', $this.el).append( data.html );
      }//populateFields
    };
  
    $.fn.FilteringTool = function() {
      return this.each(function(){
        var obj = Object.create( FilteringTool );
        obj.init( this );
      });
    };
  })( jQuery, document );
  </code></pre>
  
  <p>and fixtures:</p>
  
  <pre><code>  &lt;div id="qunit-fixture"&gt;
      &lt;div class="carouselWrapper loading" data-ajax-url="../../../fixtures/wines-carousel.ajax.php"&gt;
        &lt;div class="carousel"&gt;
          &lt;div class="filtered-items"&gt;&lt;/div&gt;
        &lt;/div&gt;&lt;!-- /.carousel --&gt;
      &lt;/div&gt;&lt;!-- /.carouselWrapper --&gt;
    &lt;/div&gt;
  </code></pre>