I upgraded to angularjs v1.2 and now my unit tests are failing because of ngRoute. I followed the changes here http://docs.angularjs.org/api/ngRoute and included the new script in my index.html file as well as loading the module and my app works fine:
--index.html
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-route/angular-route.js"></script>
--app.js
var socketwizModule = angular.module('socketwizApp', ['ngRoute']);
But my tests fail with the following error.
I tried the following couple of things but nothing seems to work, any ideas?
beforeEach(module('socketwizApp', ['ngRoute']));
And
beforeEach(module('ngRoute'));
beforeEach(module('socketwizApp'));