mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-12 03:50:22 +00:00
Refactoring admin table panels infrastructure
Updating enterprise index
This commit is contained in:
@@ -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) ->
|
||||
|
||||
Reference in New Issue
Block a user