Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Alain Takoudjou
jio
Commits
e6275024
Commit
e6275024
authored
Aug 27, 2013
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jsonify blob Firefox != Chromium -> fixed
parent
d4a44182
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test/jio/tests.js
test/jio/tests.js
+3
-3
No files found.
test/jio/tests.js
View file @
e6275024
...
@@ -481,17 +481,17 @@
...
@@ -481,17 +481,17 @@
// Tests getAttachment command string response
// Tests getAttachment command string response
jio
.
getAttachment
({
"
_id
"
:
"
a
"
,
"
_attachment
"
:
"
b
"
}).
jio
.
getAttachment
({
"
_id
"
:
"
a
"
,
"
_attachment
"
:
"
b
"
}).
always
(
function
(
answer
)
{
always
(
function
(
answer
)
{
ok
(
answer
.
data
instanceof
Blob
,
"
Get Attachment Command: Blob should be returned
"
);
delete
answer
.
data
;
deepEqual
(
JSON
.
parse
(
JSON
.
stringify
(
answer
)),
{
deepEqual
(
JSON
.
parse
(
JSON
.
stringify
(
answer
)),
{
"
attachment
"
:
"
b
"
,
"
attachment
"
:
"
b
"
,
"
data
"
:
{},
"
id
"
:
"
a
"
,
"
id
"
:
"
a
"
,
"
method
"
:
"
getAttachment
"
,
"
method
"
:
"
getAttachment
"
,
"
result
"
:
"
success
"
,
"
result
"
:
"
success
"
,
"
status
"
:
200
,
"
status
"
:
200
,
"
statusText
"
:
"
Ok
"
"
statusText
"
:
"
Ok
"
});
});
ok
(
answer
.
data
instanceof
Blob
,
"
Get Attachment Command: Blob should be returned
"
);
});
});
clock
.
tick
(
1
);
clock
.
tick
(
1
);
fakestorage
[
'
Valid Resp/getAttachment
'
].
success
(
"
ok
"
,
{
fakestorage
[
'
Valid Resp/getAttachment
'
].
success
(
"
ok
"
,
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment