Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
node-http-proxy
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
nexedi
node-http-proxy
Commits
35886878
Commit
35886878
authored
Mar 19, 2011
by
indexzero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[test] Small update to proxy-table-test.js
parent
57153182
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
test/proxy-table-test.js
test/proxy-table-test.js
+2
-3
No files found.
test/proxy-table-test.js
View file @
35886878
...
...
@@ -78,7 +78,6 @@ vows.describe('node-http-proxy/proxy-table').addBatch({
data
=
fs
.
readFileSync
(
routeFile
),
config
=
JSON
.
parse
(
data
);
this
.
output
=
'
hello dynamic.com
'
;
config
.
router
[
'
dynamic.com
'
]
=
"
127.0.0.1:8103
"
fs
.
writeFileSync
(
routeFile
,
JSON
.
stringify
(
config
));
...
...
@@ -91,13 +90,13 @@ vows.describe('node-http-proxy/proxy-table').addBatch({
}
};
runner
.
startTargetServer
(
8103
,
that
.
output
,
function
()
{
runner
.
startTargetServer
(
8103
,
'
hello dynamic.com
'
,
function
()
{
request
(
options
,
that
.
callback
);
});
});
},
"
should receive 'hello dynamic.com'
"
:
function
(
err
,
res
,
body
)
{
assert
.
equal
(
body
,
this
.
output
);
assert
.
equal
(
body
,
'
hello dynamic.com
'
);
}
}
}
...
...
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