<commit_before>'use strict';

/* jasmine specs for controllers go here */

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


  it('should ....', inject(function($controller) {
    //spec body
    var CampSiteCtrl = $controller('CampSiteCtrl', { $scope: {} });
    expect(CampSiteCtrl).toBeDefined();
  }));

  it('should create "campsites" model with 3 campsites', inject(function($controller) {
    var scope = {},
        ctrl = $controller('CampSiteCtrl', {$scope:scope});

    expect(scope.campsites.length).toBe(3);
  }));

  it('should ....', inject(function($controller) {
    //spec body
    var myCtrl2 = $controller('MyCtrl2', { $scope: {} });
    expect(myCtrl2).toBeDefined();
  }));
});<commit_msg>add test to see if new model property works<commit_after>'use strict';

/* jasmine specs for controllers go here */

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


  it('should ....', inject(function($controller) {
    //spec body
    var CampSiteCtrl = $controller('CampSiteCtrl', { $scope: {} });
    expect(CampSiteCtrl).toBeDefined();
  }));

  it('should create "campsites" model with 3 campsites', inject(function($controller) {
    var scope = {},
        ctrl = $controller('CampSiteCtrl', {$scope:scope});

    expect(scope.campsites.length).toBe(3);

    expect(scope.name).toBe('World');
  }));

  it('should ....', inject(function($controller) {
    //spec body
    var myCtrl2 = $controller('MyCtrl2', { $scope: {} });
    expect(myCtrl2).toBeDefined();
  }));
});
{'fraction_non_alphanumeric': 0.19105431309904153, 'fraction_numerical': 0.006389776357827476, 'mean_word_length': 4.100977198697068, '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': '96251', 'n_tokens_mistral': 488, 'n_tokens_neox': 468, 'n_words': 95}