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

Commit 2ce7de75 by Jan Aagaard Meier

Fix inflection at 1.3.8

1 parent 60943808
Showing with 2 additions and 4 deletions
...@@ -933,9 +933,7 @@ describe(Support.getTestDialectTeaser("Include"), function () { ...@@ -933,9 +933,7 @@ describe(Support.getTestDialectTeaser("Include"), function () {
}) })
}) })
it("should be possible to define a belongsTo include as required with child hasMany not required", function(done) {
it.only("should be possible to define a belongsTo include as required with child hasMany not required", function(done) {
var S = this.sequelize var S = this.sequelize
, Address = S.define('Address', { 'active': DataTypes.BOOLEAN }) , Address = S.define('Address', { 'active': DataTypes.BOOLEAN })
, Street = S.define('Street', { 'active': DataTypes.BOOLEAN }) , Street = S.define('Street', { 'active': DataTypes.BOOLEAN })
......
...@@ -74,7 +74,7 @@ var Support = { ...@@ -74,7 +74,7 @@ var Support = {
var sequelizeOptions = _.defaults(options, { var sequelizeOptions = _.defaults(options, {
host: options.host || config.host, host: options.host || config.host,
// logging: false, logging: false,
dialect: options.dialect, dialect: options.dialect,
port: options.port || process.env.SEQ_PORT || config.port, port: options.port || process.env.SEQ_PORT || config.port,
pool: config.pool, pool: config.pool,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!