Turned on client side tests. Fixed broken tests

This commit is contained in:
Keith Holliday
2016-05-03 10:52:21 -05:00
parent 78a8eea79a
commit fd244ac021
17 changed files with 245 additions and 260 deletions
+3 -3
View File
@@ -169,12 +169,12 @@ describe('Groups Controller', function() {
scope.editGroup(guild);
});
it('calls group.save', () => {
let guildSave = sandbox.spy(scope.groupCopy, '$save');
it('calls group update', () => {
let guildUpdate = sandbox.spy(groups.Group, 'update');
scope.saveEdit(guild);
expect(guildSave).to.be.calledOnce;
expect(guildUpdate).to.be.calledOnce;
});
it('calls cancelEdit', () => {