Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio_mebibou
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
Alexandra Rogova
jio_mebibou
Commits
4132676c
Commit
4132676c
authored
Nov 10, 2017
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FBStorage: do not embed a test inside another one
parent
ac07621c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
70 additions
and
69 deletions
+70
-69
test/jio.storage/fbstorage.tests.js
test/jio.storage/fbstorage.tests.js
+70
-69
No files found.
test/jio.storage/fbstorage.tests.js
View file @
4132676c
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
// Facebook Storage constructor
// Facebook Storage constructor
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
module
(
"
Facebook
Drive
Storage.constructor
"
);
module
(
"
FacebookStorage.constructor
"
);
test
(
"
create storage
"
,
function
()
{
test
(
"
create storage
"
,
function
()
{
var
jio
=
jIO
.
createJIO
({
var
jio
=
jIO
.
createJIO
({
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// Facebook Storage.get
// Facebook Storage.get
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
module
(
"
Facebook
Storage.get
"
,
{
module
(
"
FacebookStorage.get
"
,
{
setup
:
function
()
{
setup
:
function
()
{
this
.
server
=
sinon
.
fakeServer
.
create
();
this
.
server
=
sinon
.
fakeServer
.
create
();
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// Facebook Storage.allDocs
// Facebook Storage.allDocs
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
module
(
"
Facebook
Storage.allDocs
"
,
{
module
(
"
FacebookStorage.allDocs
"
,
{
setup
:
function
()
{
setup
:
function
()
{
this
.
server
=
sinon
.
fakeServer
.
create
();
this
.
server
=
sinon
.
fakeServer
.
create
();
...
@@ -544,6 +544,7 @@
...
@@ -544,6 +544,7 @@
.
always
(
function
()
{
.
always
(
function
()
{
start
();
start
();
});
});
});
test
(
"
get all posts with limit
"
,
function
()
{
test
(
"
get all posts with limit
"
,
function
()
{
var
url1
=
'
https://graph.facebook.com/v2.9/sample_user_id/feed?fields
'
+
var
url1
=
'
https://graph.facebook.com/v2.9/sample_user_id/feed?fields
'
+
...
@@ -612,5 +613,5 @@
...
@@ -612,5 +613,5 @@
start
();
start
();
});
});
});
});
});
}(
jIO
,
QUnit
,
sinon
));
}(
jIO
,
QUnit
,
sinon
));
\ No newline at end of file
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