Skip to content

Commit

Permalink
fix(authorization): fix test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Apr 30, 2013
1 parent 49d9c1d commit fbae558
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/test/unit/common/security/authorization.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ describe('securityAuthorization', function() {
var $rootScope, security, securityAuthorization, queue;
var userResponse, resolved;

beforeEach(module('security.authorization'));
angular.module('test', []).value('I18N.MESSAGES', {});
beforeEach(module('test', 'security.authorization', 'security/login/form.tpl.html'));
beforeEach(inject(function($injector) {
$rootScope = $injector.get('$rootScope');
securityAuthorization = $injector.get('securityAuthorization');
Expand Down

0 comments on commit fbae558

Please sign in to comment.