// handle unit tests for the posts module

'use strict';

// make eslint happy
/* globals describe */

const PostsRequestTester = require('./posts_request_tester');
const postsRequestTester = new PostsRequestTester();

describe('post requests', function() {

	this.timeout(300000);

	describe('GET /posts/:id', postsRequestTester.getPostTest);
	describe('GET /posts', postsRequestTester.getPostsTest);
	describe('POST /posts', postsRequestTester.postPostTest);
	describe('PUT /posts/:id', postsRequestTester.putPostTest);
	describe('DELETE /posts/:id', postsRequestTester.deletePostTest);
	describe('PUT /react/:id', postsRequestTester.reactTest);
});
