title: testing ember fixture data with quint
body: <p>How can we test ember data with fixtures using quint test? 
  Here is how my test code looks like:</p>
  
  <pre><code>/*globals App, getFoodController*/
  
  module('Analytics Unit Test: AnalyticsConfig Controller', {
    setup: function () {
  
        AS.Store = DS.Store.extend({
            adapter: DS.FixtureAdapter.create({ simulateRemoteResponse: false })
        });
  
        AS.AnalyticsRun.FIXTURES = [{
            id: 1,
            analyticsPlan: "Jane Q. Public",
            commandScript: "some script",
            analyticsRunParameters: []
        }];
    }
  });
  
  test('Check controller is initialized',function(){
      var controller = getAnalyticsConfigController();
      ok(controller, 'AnalyticsConfig controller is ok');
  });
  
  
  test('Check data',function(){
      var controller = getAnalyticsConfigController();
      var store = controller.get('store');
      var data;
      Ember.run(function () {
          data = store.find('analyticsRun',1);
          console.log(data);
      });
      equal(data.length, 1, 'Check data');
  });
  </code></pre>
  
  <p>When I log the data, it returns a promise. But how do I test how many records were returned or check the data? </p>
  
  <p>Thanks,
  Dee</p>