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

Commit e9ebd103 by Jan Aagaard Meier

Add task to jointablename spec

1 parent 8b234bf3
Showing with 1 additions and 0 deletions
......@@ -438,6 +438,7 @@ describe(Helpers.getTestDialectTeaser("HasMany"), function() {
it('uses the specified joinTableName or a reasonable default', function(done) {
for (var associationName in this.User.associations) {
expect(associationName).not.toEqual(this.User.tableName)
expect(associationName).not.toEqual(this.Task.tableName)
var joinTableName = this.User.associations[associationName].options.joinTableName
if (typeof joinTableName !== 'undefined') {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!