{"size": 815, "ext": "js", "max_stars_repo_path": "modules/books/tests/client/books.client.controller.tests.js", "max_stars_repo_name": "DevProjectsForDevOps/Library", "max_stars_repo_stars_event_min_datetime": "2016-07-19T14:45:22.000Z", "max_stars_repo_stars_event_max_datetime": "2020-03-15T09:41:39.000Z", "max_issues_repo_path": "modules/books/tests/client/books.client.controller.tests.js", "max_issues_repo_name": "DevProjectsForDevOps/Library", "max_issues_repo_issues_event_min_datetime": "2016-08-01T06:41:16.000Z", "max_issues_repo_issues_event_max_datetime": "2018-12-06T10:11:21.000Z", "max_forks_repo_path": "modules/books/tests/client/books.client.controller.tests.js", "max_forks_repo_name": "Rahul-Raviprasad/Library", "max_forks_repo_forks_event_min_datetime": "2016-11-08T08:44:22.000Z", "max_forks_repo_forks_event_max_datetime": "2020-03-09T14:28:52.000Z"}
{"max_stars_count": 16, "max_issues_count": 57, "max_forks_count": 11, "avg_line_length": 26.2903225806, "max_line_length": 95, "alphanum_fraction": 0.6343558282}
(function() {
  describe('View-Edit-Book-Suite', viewEditBookSuite);

  function viewEditBookSuite() {
    var $scope;
    var BooksController;
    var Authentication = {};
    var bookResolve = {};

    beforeEach(module('books'));
    beforeEach(module(ApplicationConfiguration.applicationModuleName));

    beforeEach(inject(function(_$rootScope_, _$state_, _$controller_, bookResolve, _$window_) {
      $scope = _$rootScope_.$new();
      BooksController = _$controller_('BooksController', {
        $scope: $scope,
        $state: _$state_,
        Authentication: Authentication,
        bookResolve: bookResolve,
        $window: _$window_
      });

    }));

    it('should have set correct defaults', function() {
      $scope.$digest();
      expect(BooksController.error).toBe(null);
    });
  }
}());
