var request = require('supertest');
var app = require('../app.js');

describe('GET /', function() {
  it('should return 200 OK', function(done) {
    request(app)
      .get('/')
      .expect(200, done);
  });
});

describe('GET /login', function() {
  it('should return 200 OK', function(done) {
    request(app)
      .get('/login')
      .expect(200, done);
  });
});

describe('GET /signup', function() {
  it('should return 200 OK', function(done) {
    request(app)
      .get('/signup')
      .expect(200, done);
  });
});

describe('GET /api', function() {
  it('should return 200 OK', function(done) {
    request(app)
      .get('/api')
      .expect(200, done);
  });
});

describe('GET /contact', function() {
  it('should return 200 OK', function(done) {
    request(app)
      .get('/contact')
      .expect(200, done);
  });
});

describe('GET /random-url', function() {
  it('should return 404', function(done) {
    request(app)
      .get('/reset')
      .expect(404, done);
  });
});
@@ -831,32 +831,609 @@
 ne);%0A  %7D);%0A%7D);%0A%0A
+describe('GET /', function() %7B%0A  it('should return 302 Found with page postingManager', function(done) %7B%0A    request(app)%0A      .get('/')%0A      .expect(302, done);%0A  %7D);%0A%7D);%0A%0Adescribe('GET /postingManager', function() %7B%0A  it('should return 302 Found with the same page above', function(done) %7B%0A    request(app)%0A      .get('/')%0A      .expect(302, done);%0A  %7D);%0A%7D);%0A%0Adescribe('GET /postingManager/viewAllPost', function() %7B%0A  it('should return 302 Found with page postingManager/viewAllPost', function(done) %7B%0A    request(app)%0A      .get('/')%0A      .expect(302, done);%0A  %7D);%0A%7D);%0A%0A
 describe('GET /r
@@ -1557,24 +1557,25 @@
 ct(404, done);%0A  %7D);%0A%7D);
+%0A

Update app.js