不要怂,就是干,撸起袖子干!

Commit 757da44f by Alex Young

Removes MySQL dialect condition in the data types test

1 parent d05004ef
Showing with 6 additions and 8 deletions
...@@ -8,13 +8,11 @@ if(typeof require === 'function') { ...@@ -8,13 +8,11 @@ if(typeof require === 'function') {
buster.spec.expose() buster.spec.expose()
describe(Helpers.getTestDialectTeaser('Data types'), function() { describe(Helpers.getTestDialectTeaser('Data types'), function() {
if (dialect == 'mysql') { it('should return DECIMAL for the default decimal type', function() {
it('should return DECIMAL for the default decimal type', function() { expect(Sequelize.DECIMAL).toEqual('DECIMAL');
expect(Sequelize.DECIMAL).toEqual('DECIMAL'); });
});
it('should return DECIMAL(10,2) for the default decimal type with arguments', function() { it('should return DECIMAL(10,2) for the default decimal type with arguments', function() {
expect(Sequelize.DECIMAL(10, 2)).toEqual('DECIMAL(10,2)'); expect(Sequelize.DECIMAL(10, 2)).toEqual('DECIMAL(10,2)');
}); });
}
}); });
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!