old_contents: 'use strict';
  
  describe('Controller: TodoCtrl', function () {
  
    // load the controller's module
    beforeEach(module('volleyApp'));
  
    var TodoCtrl,
      scope;
  
    // Initialize the controller and a mock scope
    beforeEach(inject(function ($controller, $rootScope) {
      scope = $rootScope.$new();
      TodoCtrl = $controller('TodoCtrl', {
        $scope: scope
      });
    }));
  
    it('should attach a list of awesomeThings to the scope', function () {
      expect(scope.todos.length).toBe(3);
    });
  });
  
new_contents: 'use strict';
  
  describe('Controller: TodoCtrl', function () {
  
    // load the controller's module
    beforeEach(module('volleyApp'));
  
    var TodoCtrl,
      scope;
  
    // Initialize the controller and a mock scope
    beforeEach(inject(function ($controller, $rootScope) {
      scope = $rootScope.$new();
      TodoCtrl = $controller('TodoCtrl', {
        $scope: scope
      });
    }));
  
    it('should attach a list of todos to the scope', function () {
      expect(angular.isArray(scope.todos)).toBeTruthy();
    });
  });
  
subject: check if todos is an array