Error should be reported when only a space is entered
Change-Id: Ie6bfb7e811ceba80bdef8a3cc03df1cde1ac6b86 Closes-Bug: #1813508
This commit is contained in:
parent
48a60ad524
commit
677dd6c936
@ -223,7 +223,7 @@
|
||||
];
|
||||
|
||||
function createContainer() {
|
||||
var model = {name: '', public: false};
|
||||
var model = {public: false};
|
||||
var config = {
|
||||
title: gettext('Create Container'),
|
||||
schema: createContainerSchema,
|
||||
|
@ -206,7 +206,7 @@
|
||||
// when the modal is resolved, make sure create is called
|
||||
deferred.resolve();
|
||||
$rootScope.$apply();
|
||||
expect(ctrl.createContainerAction).toHaveBeenCalledWith({name: '', public: false});
|
||||
expect(ctrl.createContainerAction).toHaveBeenCalledWith({public: false});
|
||||
});
|
||||
|
||||
it('should check for container existence - with presence', function test() {
|
||||
|
Loading…
Reference in New Issue
Block a user