mirror of https://github.com/artf/grapesjs.git
nocodeframeworkdrag-and-dropsite-buildersite-generatortemplate-builderui-builderweb-builderweb-builder-frameworkwebsite-builderno-codepage-builder
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.
34 lines
661 B
34 lines
661 B
define(function(require, exports, module){
|
|
'use strict';
|
|
var Trait = require('TraitManager/model/Trait');
|
|
var Component = require('DomComponents/model/Component');
|
|
|
|
module.exports = {
|
|
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;
|
|
});
|
|
|
|
});
|
|
}
|
|
}
|
|
});
|