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 c2d29dbe
authored
Oct 12, 2012
by
Sascha Depold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exec specs for all dialects
1 parent
d0d4d498
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
spec/associations/mixin.spec.js
spec/associations/mixin.spec.js
View file @
c2d29db
...
@@ -2,13 +2,16 @@ if (typeof require === 'function') {
...
@@ -2,13 +2,16 @@ if (typeof require === 'function') {
const
buster
=
require
(
"buster"
)
const
buster
=
require
(
"buster"
)
,
Helpers
=
require
(
'../buster-helpers'
)
,
Helpers
=
require
(
'../buster-helpers'
)
,
Sequelize
=
require
(
'../../index'
)
,
Sequelize
=
require
(
'../../index'
)
,
dialects
=
Helpers
.
getSupportedDialects
()
}
}
buster
.
spec
.
expose
()
buster
.
spec
.
expose
()
describe
(
'Mixin'
,
function
()
{
dialects
.
forEach
(
function
(
dialect
)
{
describe
(
'Mixin@'
+
dialect
,
function
()
{
before
(
function
(
done
)
{
before
(
function
(
done
)
{
Helpers
.
initTests
({
Helpers
.
initTests
({
dialect
:
dialect
,
beforeComplete
:
function
(
sequelize
)
{
beforeComplete
:
function
(
sequelize
)
{
this
.
sequelize
=
sequelize
this
.
sequelize
=
sequelize
}.
bind
(
this
),
}.
bind
(
this
),
...
@@ -27,4 +30,5 @@ describe('Mixin', function() {
...
@@ -27,4 +30,5 @@ describe('Mixin', function() {
expect
(
User
.
getAssociation
(
Task
).
target
).
toEqual
(
Task
)
expect
(
User
.
getAssociation
(
Task
).
target
).
toEqual
(
Task
)
})
})
})
})
})
})
})
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