<commit_before>'use strict';

/* jasmine specs for controllers go here */

describe('controllers', function(){
  beforeEach(module('myApp.controllers'));

  it('should have one last match initialized', inject(function($controller) {
    var scope = {},
        ctrl = $controller('LastMatchController');

    expect(scope.match).toBeDefined();
    expect(scope.match.homeTeam).toBe('Olympique Lyonnais');
  }));

  it('should have three matches in the calendar', inject(function($controller) {
    var scope = {},
        ctrl = $controller('CalendarController');

    expect(scope.matches).toBeDefined();
    expect(scope.matches.length).toBe(3);
  }));
});
<commit_msg>Fixed unit tests<commit_after>'use strict';

/* jasmine specs for controllers go here */

describe('controllers', function(){
  beforeEach(module('myApp.controllers'));

  it('should have one last match initialized', inject(function($controller) {
    var scope = {},
        ctrl = $controller('LastMatchController', {$scope:scope});

    expect(scope.match).toBeDefined();
    expect(scope.match.homeTeam).toBe('Olympique Lyonnais');
  }));

  it('should have three matches in the calendar', inject(function($controller) {
    var scope = {},
        ctrl = $controller('CalendarController', {$scope:scope});

    expect(scope.matches).toBeDefined();
    expect(scope.matches.length).toBe(3);
  }));
});

{'fraction_non_alphanumeric': 0.16412490922294845, 'fraction_numerical': 0.0014524328249818446, 'mean_word_length': 4.578947368421052, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6788093', 'n_tokens_mistral': 391, 'n_tokens_neox': 380, 'n_words': 82}