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

Commit 757da44f by Alex Young

Removes MySQL dialect condition in the data types test

1 parent d05004ef
Showing with 0 additions and 2 deletions
...@@ -8,7 +8,6 @@ if(typeof require === 'function') { ...@@ -8,7 +8,6 @@ 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');
}); });
...@@ -16,5 +15,4 @@ describe(Helpers.getTestDialectTeaser('Data types'), function() { ...@@ -16,5 +15,4 @@ describe(Helpers.getTestDialectTeaser('Data types'), function() {
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!