Skip to content

Commit 6c7a934

Browse files
committed
adding redis url to travis env var. silly me :/
1 parent 9e3ac87 commit 6c7a934

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
- mongodb
55
- redis-server
66
env:
7-
- MONGOLAB_URL=mongodb://127.0.0.1/snipe RATE_LIMIT=10
7+
- MONGOLAB_URL=mongodb://127.0.0.1/snipe RATE_LIMIT=10 REDIS_URL=redis://127.0.0.1/1
88
addons:
99
apt:
1010
sources:

test/routes/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ app.use('/',router);
5252

5353
// req.method = '';
5454

55-
var agent = request.agent('http://0.0.0.0:'+config.port+'');
55+
var agent = request.agent(app);
5656

5757
describe('Test rate limiting', function(){
5858

0 commit comments

Comments
 (0)