'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);
  });
});

@@ -401,20 +401,12 @@
  of 
-awesomeThing
+todo
 s to
@@ -447,34 +447,49 @@
 ect(
-scope.todos.length).toBe(3
+angular.isArray(scope.todos)).toBeTruthy(
 );%0A 

check if todos is an array