Merge "Fix flavor quota charts in NG Launch Instance"

This commit is contained in:
Jenkins 2015-11-25 05:39:38 +00:00 committed by Gerrit Code Review
commit 705995f608
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
</div>
<svg class="svg-pie-chart"
ng-if="chartData.showChart"
ng-show="chartData.showChart"
ng-attr-height="{$ ::model.settings.diameter $}"
ng-attr-width="{$ ::model.settings.diameter $}">
<g class="chart"

View File

@ -138,8 +138,8 @@
expect($elementTotal.find('svg').length).toBe(1);
});
it('Unlimited quota chart should have no svg element', function () {
expect($elementNoQuota.find('svg').length).toBe(0);
it('Unlimited quota chart should have hidden svg element', function () {
expect($elementNoQuota.find('svg').is(':hidden')).toBe(true);
});
it('Max chart should have 3 path elements', function () {