mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 19:43:16 +00:00
Fix #1518 Can not edit tags in metadatas settings
This commit is contained in:

committed by
Romain Neutron

parent
0c8c175ab5
commit
6e59e7aae6
@@ -217,6 +217,14 @@ define([
|
||||
it("should render as a DIV element", function() {
|
||||
this.view.render().el.nodeName.should.equal("DIV");
|
||||
});
|
||||
|
||||
it("should render an error message if provided tag is empty", function() {
|
||||
var view = this.view.render();
|
||||
|
||||
view.$('input#tag').val("").blur();
|
||||
|
||||
assert.isTrue(view.$('input#tag').closest(".control-group").hasClass("error"));
|
||||
});
|
||||
});
|
||||
|
||||
describe("FieldError Views", function() {
|
||||
|
Reference in New Issue
Block a user