mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-01 21:47:16 +00:00
Make Checkout form submit read terms_and_conditions_accepted from the checkout form checkbox
This commit is contained in:
@@ -65,6 +65,7 @@ describe 'Checkout service', ->
|
||||
inject ($injector, _$httpBackend_, $rootScope)->
|
||||
$httpBackend = _$httpBackend_
|
||||
Checkout = $injector.get("Checkout")
|
||||
spyOn(Checkout, "terms_and_conditions_accepted")
|
||||
scope = $rootScope.$new()
|
||||
scope.Checkout = Checkout
|
||||
Navigation = $injector.get("Navigation")
|
||||
|
||||
Reference in New Issue
Block a user