<commit_before>describe('Routes', function() {
  //Login
  describe('login', function() {
    var $state;

    beforeEach(function() {
      module('starter');
      inject(function(_$rootScope_, _$state_, _$injector_, $templateCache) {
        $state = _$state_;
      });
    });

    it('should respond to login', function() {
      expect($state.href('login')).toEqual('#/login');
    });
    it('should respond to goaltype', function() {
      expect($state.href('goaltype')).toEqual('#/goaltype');
    });
    it('should respond to goaldetails', function() {
      expect($state.href('goaldetails')).toEqual('#/goaldetails');
    });
    it('should respond to goalsuccess', function() {
      expect($state.href('goalsuccess')).toEqual('#/goalsuccess');
    });
    it('should respond to goalfailure', function() {
      expect($state.href('goalfailure')).toEqual('#/goalfailure');
    });
  });

});<commit_msg>(tests) Added failing route tests<commit_after>describe('Routes', function() {
  //Login
  describe('login', function() {
    var $state;

    beforeEach(function() {
      module('starter');
      inject(function(_$rootScope_, _$state_, _$injector_, $templateCache) {
        $state = _$state_;
      });
    });

    it('should respond to login', function() {
      expect($state.href('login')).toEqual('#/login');
    });
    it('should respond to goaltype', function() {
      expect($state.href('goaltype')).toEqual('#/goaltype');
    });
    it('should respond to goaldetails', function() {
      expect($state.href('goaldetails')).toEqual('#/goaldetails');
    });
    it('should respond to goalsuccess', function() {
      expect($state.href('goalsuccess')).toEqual('#/goalsuccess');
    });
    it('should respond to goalfailure', function() {
      expect($state.href('goalfailure')).toEqual('#/goalfailure');
    });
    xit('should respond to payment', function(){
      expect($state.href('payment').toEqual('#/payment'));
    });
    xit('should respond to progress', function(){
      expect($state.href('progress').toEqual('#/progress'));
    });
    xit('should respond to successreport', function(){
      expect($state.href('successreport').toEqual('#/successreport'));
    });
    xit('should respond to failurereport', function(){
      expect($state.href('failurereport').toEqual('#/failurereport'));
    });
    xit('should respond to settings', function(){
      expect($state.href('settings').toEqual('#/settings'));
    });
  });

});
{'fraction_non_alphanumeric': 0.20419693301049233, 'fraction_numerical': 0.0, 'mean_word_length': 3.7764932562620426, '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': '1531551', 'n_tokens_mistral': 727, 'n_tokens_neox': 709, 'n_words': 124}