Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
53054ab6
Commit
53054ab6
authored
Jul 23, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update refernce do debomatic-webui bin and fix some coffeelint warning
parent
8006a05f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
debomatic-webui/test/tests.coffee
debomatic-webui/test/tests.coffee
+6
-6
No files found.
debomatic-webui/test/tests.coffee
View file @
53054ab6
...
...
@@ -80,18 +80,18 @@ options =
'force new connection'
:
true
describe
'start server'
,
->
before
(
(
done
)
-
>
before
(
(
done
)
=
>
helper
.
append_json
(
''
)
helper
.
make_distribution
(
'trusty'
)
helper
.
make_distribution
(
'unstable'
)
server
=
spawn
(
'coffee'
,
[
'../debomatic-webui
.coffee
'
,
'-c'
,
'tests.config.coffee'
])
server
=
spawn
(
'coffee'
,
[
'../debomatic-webui'
,
'-c'
,
'tests.config.coffee'
])
server
.
stdout
.
on
'data'
,
(
data
)
->
console
.
log
(
'SERVER OUT: '
,
data
.
toString
(
'utf-8'
))
server
.
stderr
.
on
'data'
,
(
data
)
->
console
.
error
(
'SERVER ERR'
,
data
.
toString
(
'utf-8'
))
server
.
on
'exit'
,
(
code
)
->
console
.
error
(
'Server exit with code '
+
code
)
;
console
.
error
(
'Server exit with code '
+
code
)
process
.
exit
(
code
)
this
.
timeout
(
7000
)
;
setTimeout
(
done
,
500
)
;
this
.
timeout
(
7000
)
setTimeout
(
done
,
500
)
)
it
'server started'
,
(
done
)
->
...
...
@@ -117,7 +117,7 @@ describe 'client', ->
done
()
)
it
'get distributions'
,
(
done
)
->
it
'get distributions'
,
(
done
)
->
client
.
once
events
.
broadcast
.
distributions
,
(
data
)
->
data
.
should
.
be
.
eql
([
'trusty'
,
'unstable'
])
done
()
...
...
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