|
|
@ -45,7 +45,7 @@ function tableTest() { |
|
|
|
return new Error('Tables is not be created'); |
|
|
|
return new Error('Tables is not be created'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (response.body.columns.length !== (defaultColumns(context))) { |
|
|
|
if (response.body.columns.length !== defaultColumns(context)) { |
|
|
|
return new Error('Columns not saved properly'); |
|
|
|
return new Error('Columns not saved properly'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -152,7 +152,6 @@ function tableTest() { |
|
|
|
if (tables.length !== 1) { |
|
|
|
if (tables.length !== 1) { |
|
|
|
return new Error('Tables should not be created'); |
|
|
|
return new Error('Tables should not be created'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
it('Create table with title having leading white space', async function () { |
|
|
|
it('Create table with title having leading white space', async function () { |
|
|
|