1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

Add labels to container start and display.

This commit is contained in:
Kevan Ahlquist 2015-11-26 22:28:01 -06:00
parent 25a4607ad6
commit 640c0b39c1
6 changed files with 104 additions and 8 deletions

View file

@ -73,8 +73,8 @@ describe('filters', function () {
});
describe('getstatelabel', function () {
it('should return an empty string when state is undefined', inject(function (getstatelabelFilter) {
expect(getstatelabelFilter(undefined)).toBe('');
it('should return default when state is undefined', inject(function (getstatelabelFilter) {
expect(getstatelabelFilter(undefined)).toBe('label-default');
}));
it('should return label-important when a ghost state is detected', inject(function (getstatelabelFilter) {