Make Checkout form submit read terms_and_conditions_accepted from the checkout form checkbox

This commit is contained in:
Luis Ramos
2020-09-28 14:44:41 +01:00
parent a942218708
commit ceee89fad0
2 changed files with 9 additions and 1 deletions

View File

@@ -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")