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 757da44f
authored
Mar 06, 2013
by
Alex Young
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removes MySQL dialect condition in the data types test
1 parent
d05004ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
spec/data-types.spec.js
spec/data-types.spec.js
View file @
757da44
...
@@ -8,13 +8,11 @@ if(typeof require === 'function') {
...
@@ -8,13 +8,11 @@ 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'
);
});
});
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)'
);
});
});
}
});
});
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