Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
simcaq-node
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
simcaq
simcaq-node
Commits
51fb52a0
There was a problem fetching the pipeline summary.
Commit
51fb52a0
authored
8 years ago
by
Rudolf Copi Eckelberg
Browse files
Options
Downloads
Patches
Plain Diff
fixed test routes
parent
1b8d0646
No related branches found
No related tags found
2 merge requests
!17
Routers 20160922
,
!16
fixed test routes
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/test.js
+9
-9
9 additions, 9 deletions
src/test/test.js
with
9 additions
and
9 deletions
src/test/test.js
+
9
−
9
View file @
51fb52a0
...
...
@@ -19,7 +19,7 @@ chai.use(chaiHttp);
describe
(
'
request enrollments
'
,
()
=>
{
it
(
'
should list enrollments
'
,
(
done
)
=>
{
chai
.
request
(
server
)
.
get
(
'
/v1/enrollment
'
)
.
get
(
'
/
api/
v1/enrollment
'
)
.
end
((
err
,
res
)
=>
{
res
.
should
.
have
.
status
(
200
);
res
.
should
.
be
.
json
;
...
...
@@ -35,7 +35,7 @@ describe('request enrollments', () => {
describe
(
'
request regions
'
,
()
=>
{
it
(
'
should list all regions
'
,
(
done
)
=>
{
chai
.
request
(
server
)
.
get
(
'
/v1/region
'
)
.
get
(
'
/
api/
v1/region
'
)
.
end
((
err
,
res
)
=>
{
res
.
should
.
have
.
status
(
200
);
res
.
should
.
be
.
json
;
...
...
@@ -49,7 +49,7 @@ describe('request regions', () => {
it
(
'
should list region by id
'
,
(
done
)
=>
{
chai
.
request
(
server
)
.
get
(
'
/v1/region/1
'
)
.
get
(
'
/
api/
v1/region/1
'
)
.
end
((
err
,
res
)
=>
{
res
.
should
.
have
.
status
(
200
);
res
.
should
.
be
.
json
;
...
...
@@ -66,7 +66,7 @@ describe('request regions', () => {
describe
(
'
request states
'
,
()
=>
{
it
(
'
should list all states
'
,
(
done
)
=>
{
chai
.
request
(
server
)
.
get
(
'
/v1/state
'
)
.
get
(
'
/
api/
v1/state
'
)
.
end
((
err
,
res
)
=>
{
res
.
should
.
have
.
status
(
200
);
res
.
should
.
be
.
json
;
...
...
@@ -81,7 +81,7 @@ describe('request states', () => {
it
(
'
should list a state by id
'
,
(
done
)
=>
{
chai
.
request
(
server
)
.
get
(
'
/v1/state/11
'
)
.
get
(
'
/
api/
v1/state/11
'
)
.
end
((
err
,
res
)
=>
{
res
.
should
.
have
.
status
(
200
);
res
.
should
.
be
.
json
;
...
...
@@ -97,7 +97,7 @@ describe('request states', () => {
it
(
'
should list states by region id
'
,
(
done
)
=>
{
chai
.
request
(
server
)
.
get
(
'
/v1/state/region/1
'
)
.
get
(
'
/
api/
v1/state/region/1
'
)
.
end
((
err
,
res
)
=>
{
res
.
should
.
have
.
status
(
200
);
res
.
should
.
be
.
json
;
...
...
@@ -114,7 +114,7 @@ describe('request states', () => {
describe
(
'
request cities
'
,
()
=>
{
it
(
'
should list all cities
'
,
(
done
)
=>
{
chai
.
request
(
server
)
.
get
(
'
/v1/city
'
)
.
get
(
'
/
api/
v1/city
'
)
.
end
((
err
,
res
)
=>
{
res
.
should
.
have
.
status
(
200
);
res
.
should
.
be
.
json
;
...
...
@@ -130,7 +130,7 @@ describe('request cities', () => {
it
(
'
should list a city by id
'
,
(
done
)
=>
{
chai
.
request
(
server
)
.
get
(
'
/v1/city/1
'
)
.
get
(
'
/
api/
v1/city/1
'
)
.
end
((
err
,
res
)
=>
{
res
.
should
.
have
.
status
(
200
);
res
.
should
.
be
.
json
;
...
...
@@ -146,7 +146,7 @@ describe('request cities', () => {
it
(
'
should list a city by codigo_ibge
'
,
(
done
)
=>
{
chai
.
request
(
server
)
.
get
(
'
/v1/city/ibge/1200013
'
)
.
get
(
'
/
api/
v1/city/ibge/1200013
'
)
.
end
((
err
,
res
)
=>
{
res
.
should
.
have
.
status
(
200
);
res
.
should
.
be
.
json
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment