Merge "Fix flavor quota charts in NG Launch Instance"
This commit is contained in:
commit
705995f608
@ -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"
|
||||
|
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user