Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
PUBLIC
/
surfer-okd
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 052333b5
authored
Nov 27, 2015
by
Girish Ramakrishnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable tests
1 parent
9d2701fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
test/test.js
test/test.js
View file @
052333b
...
...
@@ -33,7 +33,7 @@ describe('Application life cycle test', function () {
execSync
(
'cloudron build'
,
{
cwd
:
path
.
resolve
(
__dirname
,
'..'
),
stdio
:
'inherit'
});
});
x
it
(
'install app'
,
function
()
{
it
(
'install app'
,
function
()
{
execSync
(
'cloudron install --new --location '
+
LOCATION
,
{
cwd
:
path
.
resolve
(
__dirname
,
'..'
),
stdio
:
'inherit'
});
});
...
...
@@ -74,12 +74,12 @@ describe('Application life cycle test', function () {
});
it
(
'can get the uploaded file'
,
function
(
done
)
{
var
contents
=
execSync
(
__dirname
+
'/../cli/surfer.js get
test/test.js
'
).
toString
(
'utf8'
);
var
contents
=
execSync
(
__dirname
+
'/../cli/surfer.js get
surfer-test.txt
'
).
toString
(
'utf8'
);
expect
(
contents
).
to
.
be
(
'surfer'
);
done
();
});
x
it
(
'uninstall app'
,
function
()
{
it
(
'uninstall app'
,
function
()
{
execSync
(
'cloudron uninstall --app '
+
app
.
id
,
{
cwd
:
path
.
resolve
(
__dirname
,
'..'
),
stdio
:
'inherit'
});
fs
.
unlinkSync
(
process
.
env
.
HOME
+
'/.surfer.json'
);
fs
.
unlinkSync
(
testFile
);
...
...
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