Merge "Error should be reported when only a space is entered"
This commit is contained in:
commit
dcbd701bef
|
@ -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