Refactoring admin table panels infrastructure

Updating enterprise index
This commit is contained in:
Rob Harrington
2016-05-01 09:38:41 +10:00
parent d201e4a039
commit 8035b3f24a
16 changed files with 231 additions and 173 deletions

View File

@@ -38,7 +38,7 @@ describe "indexPanelCtrl", ->
expect(scope.saving).toBe false
it "emits an 'enterprise:updated' event", ->
expect(scope.$emit).toHaveBeenCalledWith("enterprise:updated")
expect(scope.$emit).toHaveBeenCalledWith("enterprise:updated", scope.enterprise)
describe "when the save is unsuccessful", ->
beforeEach inject ($rootScope) ->