Skip to content

Commit

Permalink
Updated test for fix in commit 8516c91
Browse files Browse the repository at this point in the history
  • Loading branch information
nloyola committed May 25, 2017
1 parent e7f69eb commit c52f348
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ define(function (require) {

beforeEach(mocks.module('biobankApp', 'biobank.test'));

beforeEach(inject(function($rootScope, $compile, TestSuiteMixin, testUtils) {
beforeEach(inject(function($rootScope, $compile, TestSuiteMixin) {
var self = this;

_.extend(self, TestSuiteMixin.prototype);

self.injectDependencies('$rootScope',
Expand Down Expand Up @@ -68,7 +67,8 @@ define(function (require) {
var user = this.factory.user();

createController.call(this, user);
expect(this.scope.vm.user).toEqual(user);
expect(this.controller.user.id).toEqual(user.id);
expect(this.controller.user).toEqual(jasmine.any(this.User));
});

describe('updates to name', function () {
Expand Down

0 comments on commit c52f348

Please sign in to comment.