1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 14:59:41 +02:00

Switch to ngOboe, for DI and promise interface.

This commit is contained in:
Kevan Ahlquist 2015-04-18 23:06:58 -07:00
parent 2514672c35
commit 6012453d2d
4 changed files with 21 additions and 8 deletions

View file

@ -19,7 +19,7 @@ describe('ContainerController', function () {
}));
function expectGetContainer() {
$httpBackend.expectGET('dockerapi/containers/json?').respond({
$httpBackend.expectGET('dockerapi/containers/json').respond({
'Created': 1421817232,
'id': 'b17882378cee8ec0136f482681b764cca430befd52a9bfd1bde031f49b8bba9f',
'Image': 'dockerui:latest',
@ -41,7 +41,7 @@ describe('ContainerController', function () {
var newContainerName = "newName";
expectGetContainer();
$httpBackend.expectGET('dockerapi/containers/changes?').respond([{"Kind": 1, "Path": "/docker.sock"}]);
$httpBackend.expectGET('dockerapi/containers/changes').respond([{"Kind": 1, "Path": "/docker.sock"}]);
$httpBackend.expectPOST('dockerapi/containers/' + $routeParams.id + '/rename?name=newName').
respond({