Fetching Enterprise Fees for order cycle, using new enterprisefee serializer

This commit is contained in:
Rob Harrington
2015-04-06 13:06:21 +10:00
parent 7eb735f87e
commit d516795774
7 changed files with 65 additions and 12 deletions

View File

@@ -396,7 +396,7 @@ describe 'OrderCycle services', ->
inject ($injector, _$httpBackend_)->
EnterpriseFee = $injector.get('EnterpriseFee')
$httpBackend = _$httpBackend_
$httpBackend.whenGET('/admin/enterprise_fees.json').respond [
$httpBackend.whenGET('/admin/enterprise_fees/for_order_cycle.json?').respond [
{id: 1, name: "Yayfee", enterprise_id: 1}
{id: 2, name: "FeeTwo", enterprise_id: 2}
]