Skip to content

Commit

Permalink
[Finishes #153438626, #153438864, #153214779]
Browse files Browse the repository at this point in the history
  • Loading branch information
Benny Ogidan authored and Benny Ogidan committed Dec 8, 2017
1 parent 12ae3cc commit 2db5952
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions server/src/test/books.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ chai.use(chaiHttp);

let bookId;
let token = '';
const testdate = new Date('2017-12-05');
const testdate = new Date('2017-12-10');
let limit;

describe('HelloBooks', () => {
Expand Down Expand Up @@ -388,7 +388,7 @@ describe('HelloBooks', () => {
});
});
});
describe('/POST loan a book', () => {
describe('/LOAN', () => {
it('should allow an authenticated user to loan a book', (done) => {
const userbook = {
bookId: bookId.toString(),
Expand Down
4 changes: 2 additions & 2 deletions server/src/test/userbooks.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ let bookId;
let zerobookId;
let testbookId;
let token;
const testdate = new Date('2017-12-05');
const testdate = new Date('2017-12-10');
const nulluserId = '';


Expand Down Expand Up @@ -94,7 +94,7 @@ describe('HelloBooks', () => {
});
});

describe('/POST loan a book', () => {
describe('Loan', () => {
it('should allow an authenticated user to loan a book', (done) => {
const userbook = {
bookId: bookId.toString(),
Expand Down

0 comments on commit 2db5952

Please sign in to comment.