'use strict';

var chai = require('chai');
var chaihttp = require('chai-http');
var expect = require('chai').expect;

chai.use(chaihttp);

require('../../../server');


describe('Yelp search route', function() {

  it('should be able to get', function(done) {
    chai.request('http://localhost:3000')
      .get('/api/0_0_1/location' )
      .res(function(res) {
        expect(res).to.have.status(200);
      });
      done();
  });

});

@@ -322,16 +322,15 @@
 0_1/
-location
+%5B%7B%7D%5D/%7B%7D
 ' )%0A
@@ -403,17 +403,23 @@
 ;%0A      
-%7D
+  done(
 );%0A     
@@ -415,29 +415,25 @@
 ne();%0A      
-done(
+%7D
 );%0A  %7D);%0A%0A%7D)

Move done() call to inside res so the test executes properly