blob: 6ad3301dac300072eda7b6975929a83e7eeb60e0 (
plain)
1
2
3
4
5
6
7
8
|
define(["jQuery","QUnit", "DDLBuilder/ddl_builder"], function ($,QUnit,DDLBuilder) {
return function (id,types) {
var ddl_builder = new DDLBuilder({ddlTemplate: "{{#each_with_index columns}}{{#if index}},{{/if}}{{db_type}}{{/each_with_index}}}"});
QUnit.equal(ddl_builder.parse($("#" + id).html()), types, "Column types");
};
});
|