Modify some spelling mistakes

Change-Id: I8f5e49f6378b437211520a7d28726b8b4d1c2aea
Co-Authored-By: Shu Muto <shu-mutou@rf.jp.nec.com>
This commit is contained in:
yangle 2017-06-02 15:04:24 +08:00 committed by Shu Muto
parent 915227a9d7
commit 9ebba6d43f
3 changed files with 7 additions and 7 deletions

View File

@ -144,7 +144,7 @@ changes:
linkcheck:
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
@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."
doctest:

View File

@ -32,7 +32,7 @@
};
var magnumAPI = {
deleteEntity: function() {
deleteClusterTemplate: function() {
return;
}
};
@ -58,7 +58,7 @@
}));
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);
spyOn(policyAPI, 'ifAllowed').and.callThrough();
}));
@ -126,7 +126,7 @@
it('should pass in a function that deletes an template', testMagnum);
function testMagnum() {
spyOn(magnumAPI, 'deleteEntity');
spyOn(magnumAPI, 'deleteClusterTemplate');
var templates = generateTemplate(1);
var template = templates[0];
service.perform(templates, $scope);

View File

@ -32,7 +32,7 @@
};
var magnumAPI = {
deleteEntity: function() {
deleteCluster: function() {
return;
}
};
@ -57,7 +57,7 @@
}));
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);
spyOn(policyAPI, 'ifAllowed').and.callThrough();
}));
@ -126,7 +126,7 @@
it('should pass in a function that deletes a cluster', testMagnum);
function testMagnum() {
spyOn(magnumAPI, 'deleteEntity');
spyOn(magnumAPI, 'deleteCluster');
var clusters = generateCluster(1);
var cluster = clusters[0];
service.perform(clusters, $scope);