mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Fix failed js test
This commit is contained in:
@@ -73,6 +73,9 @@ describe "CustomersCtrl", ->
|
||||
expect(scope.customers).toDeepEqual customers
|
||||
|
||||
describe "scope.deleteCustomer", ->
|
||||
beforeEach ->
|
||||
spyOn(window, 'confirm').and.returnValue(true)
|
||||
|
||||
it "deletes a customer", ->
|
||||
expect(scope.customers.length).toBe 2
|
||||
customer = scope.customers[0]
|
||||
|
||||
Reference in New Issue
Block a user