mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-06 22:36:07 +00:00
Updating spec to new Jasmine syntax
This commit is contained in:
@@ -328,7 +328,7 @@ describe 'OrderCycle controllers', ->
|
||||
scope.submit(eventMock,'/admin/order_cycles')
|
||||
expect(eventMock.preventDefault).toHaveBeenCalled()
|
||||
expect(OrderCycle.update).toHaveBeenCalledWith('/admin/order_cycles')
|
||||
expect(scope.order_cycle_form.$setPristine.calls.length).toEqual 1
|
||||
expect(scope.order_cycle_form.$setPristine.calls.count()).toEqual 1
|
||||
|
||||
|
||||
describe 'OrderCycle services', ->
|
||||
|
||||
Reference in New Issue
Block a user