Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 56fdc84c
authored
Feb 23, 2014
by
Mick Hansen
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1422 from overlookmotel/fix-failing-test
fix for failing test
2 parents
f7ec6234
29702fb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
test/include.test.js
test/include.test.js
View file @
56fdc84
...
...
@@ -282,7 +282,7 @@ describe(Support.getTestDialectTeaser("Include"), function () {
{
title
:
'Dress'
},
{
title
:
'Bed'
}
]).
done
(
function
()
{
Product
.
findAll
().
done
(
callback
)
Product
.
findAll
(
{
order
:
[
[
'id'
]
]}
).
done
(
callback
)
})
},
tags
:
function
(
callback
)
{
...
...
@@ -291,7 +291,7 @@ describe(Support.getTestDialectTeaser("Include"), function () {
{
name
:
'B'
},
{
name
:
'C'
}
]).
done
(
function
()
{
Tag
.
findAll
().
done
(
callback
)
Tag
.
findAll
(
{
order
:
[
[
'id'
]
]}
).
done
(
callback
)
})
},
userProducts
:
[
'user'
,
'products'
,
function
(
callback
,
results
)
{
...
...
@@ -317,7 +317,8 @@ describe(Support.getTestDialectTeaser("Include"), function () {
{
model
:
Product
,
include
:
[
{
model
:
Tag
}
]}
]
],
order
:
[
[
'id'
],
[
Product
,
'id'
]
]
}).
done
(
function
(
err
,
user
)
{
expect
(
err
).
not
.
to
.
be
.
ok
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment