Merge "Make getPorts and setBreadcrumb tests work"
This commit is contained in:
commit
5056b9bbe6
|
@ -154,7 +154,9 @@
|
|||
|
||||
describe('setBreadcrumb', function() {
|
||||
it('sets breadcrumb items from specified array', function() {
|
||||
service.setBreadcrumb(breadcrumb);
|
||||
service.setBreadcrumb(['Identity', 'Roles']);
|
||||
expect(navigations.text('Identity').length).toBe(1);
|
||||
expect(navigations.text('Roles').length).toBe(1);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -621,6 +621,7 @@
|
|||
neutronEnabled = true;
|
||||
model.initialize(true);
|
||||
scope.$apply();
|
||||
expect(model.newInstanceSpec.ports.length).toBe(0);
|
||||
});
|
||||
|
||||
it('should have the proper entries in allowedBootSources', function() {
|
||||
|
|
Loading…
Reference in New Issue