Modify some spelling mistakes
Change-Id: I8f5e49f6378b437211520a7d28726b8b4d1c2aea Co-Authored-By: Shu Muto <shu-mutou@rf.jp.nec.com>
This commit is contained in:
parent
915227a9d7
commit
9ebba6d43f
@ -144,7 +144,7 @@ changes:
|
|||||||
linkcheck:
|
linkcheck:
|
||||||
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
|
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
|
||||||
@echo
|
@echo
|
||||||
@echo "Link check complete; look for any errors in the above output " \
|
@echo "Link check complete; look for any error in the above output " \
|
||||||
"or in $(BUILDDIR)/linkcheck/output.txt."
|
"or in $(BUILDDIR)/linkcheck/output.txt."
|
||||||
|
|
||||||
doctest:
|
doctest:
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
var magnumAPI = {
|
var magnumAPI = {
|
||||||
deleteEntity: function() {
|
deleteClusterTemplate: function() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -58,7 +58,7 @@
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
beforeEach(module('horizon.app.core.openstack-service-api', function($provide) {
|
beforeEach(module('horizon.app.core.openstack-service-api', function($provide) {
|
||||||
$provide.value('horizon.app.core.openstack-service-api.mugnum', magnumAPI);
|
$provide.value('horizon.app.core.openstack-service-api.magnum', magnumAPI);
|
||||||
$provide.value('horizon.app.core.openstack-service-api.policy', policyAPI);
|
$provide.value('horizon.app.core.openstack-service-api.policy', policyAPI);
|
||||||
spyOn(policyAPI, 'ifAllowed').and.callThrough();
|
spyOn(policyAPI, 'ifAllowed').and.callThrough();
|
||||||
}));
|
}));
|
||||||
@ -126,7 +126,7 @@
|
|||||||
it('should pass in a function that deletes an template', testMagnum);
|
it('should pass in a function that deletes an template', testMagnum);
|
||||||
|
|
||||||
function testMagnum() {
|
function testMagnum() {
|
||||||
spyOn(magnumAPI, 'deleteEntity');
|
spyOn(magnumAPI, 'deleteClusterTemplate');
|
||||||
var templates = generateTemplate(1);
|
var templates = generateTemplate(1);
|
||||||
var template = templates[0];
|
var template = templates[0];
|
||||||
service.perform(templates, $scope);
|
service.perform(templates, $scope);
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
var magnumAPI = {
|
var magnumAPI = {
|
||||||
deleteEntity: function() {
|
deleteCluster: function() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -57,7 +57,7 @@
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
beforeEach(module('horizon.app.core.openstack-service-api', function($provide) {
|
beforeEach(module('horizon.app.core.openstack-service-api', function($provide) {
|
||||||
$provide.value('horizon.app.core.openstack-service-api.mugnum', magnumAPI);
|
$provide.value('horizon.app.core.openstack-service-api.magnum', magnumAPI);
|
||||||
$provide.value('horizon.app.core.openstack-service-api.policy', policyAPI);
|
$provide.value('horizon.app.core.openstack-service-api.policy', policyAPI);
|
||||||
spyOn(policyAPI, 'ifAllowed').and.callThrough();
|
spyOn(policyAPI, 'ifAllowed').and.callThrough();
|
||||||
}));
|
}));
|
||||||
@ -126,7 +126,7 @@
|
|||||||
it('should pass in a function that deletes a cluster', testMagnum);
|
it('should pass in a function that deletes a cluster', testMagnum);
|
||||||
|
|
||||||
function testMagnum() {
|
function testMagnum() {
|
||||||
spyOn(magnumAPI, 'deleteEntity');
|
spyOn(magnumAPI, 'deleteCluster');
|
||||||
var clusters = generateCluster(1);
|
var clusters = generateCluster(1);
|
||||||
var cluster = clusters[0];
|
var cluster = clusters[0];
|
||||||
service.perform(clusters, $scope);
|
service.perform(clusters, $scope);
|
||||||
|
Loading…
Reference in New Issue
Block a user