Free and Open source Web Builder Framework. Next generation tool for building templates without coding
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

32 lines
582 B

define(['TraitManager/model/Trait', 'DomComponents/model/Component'],
function(Trait, Component) {
return {
run: function(){
describe('TraitModels', function() {
var obj;
var target;
var modelName = 'title';
beforeEach(function () {
target = new Component();
obj = new Trait({
name: modelName,
target: target,
});
});
afterEach(function () {
delete obj;
});
it('Object exists', function() {
Trait.should.be.exist;
});
});
}
}
});