diff --git a/client/ticket/src/create/card.html b/client/ticket/src/create/card.html
index e1b7a611d..fb1b982f2 100644
--- a/client/ticket/src/create/card.html
+++ b/client/ticket/src/create/card.html
@@ -26,7 +26,7 @@
{
- this._avaibleAgencies = res.data[0];
+ this._availableAgencies = res.data[0];
});
}
}
diff --git a/client/ticket/src/create/card.spec.js b/client/ticket/src/create/card.spec.js
index 687aae7de..0fea6e3b8 100644
--- a/client/ticket/src/create/card.spec.js
+++ b/client/ticket/src/create/card.spec.js
@@ -38,7 +38,7 @@ describe('Ticket', () => {
});
});
- describe('getAvaibleAgencies()', () => {
+ describe('getAvailableAgencies()', () => {
it(`should make a query if landed and addressFk exists`, () => {
controller.ticket.addressFk = 101;
controller.ticket.landed = 101;
@@ -48,7 +48,7 @@ describe('Ticket', () => {
$httpBackend.whenGET(`/api/Agencies/landsThatDay?filter=${filter}`).respond({data: 1});
$httpBackend.expectGET(`/api/Agencies/landsThatDay?filter=${filter}`);
- controller.getAvaibleAgencies();
+ controller.getAvailableAgencies();
$httpBackend.flush();
});
});