Skip to content

Commit 1de0029

Browse files
committed
added gitignore
1 parent c3d0c0b commit 1de0029

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.wercker

app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var express = require('express');
22
var app = express();
33

4-
app.get('/cities.json', function(req, res){
4+
app.get('/', function(req, res){
55
res.writeHead(200, { 'Content-Type': 'application/json' });
66
res.write(JSON.stringify({insecticons : ["San Francisco","Amsterdam", "Berlin", "New York", "Palo ALto"]}));
77
res.end();

test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
describe('GET', function(){
77
it('respond with json', function(done){
88
request(app)
9-
.get('/cities.json')
9+
.get('/')
1010
.set('Accept', 'application/json')
1111
.expect('Content-Type', /json/)
1212
.expect(200, done);

0 commit comments

Comments
 (0)