Skip to content

Commit

Permalink
Modified servers/tests/gifs.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JustineRobert committed Nov 22, 2019
1 parent 101c320 commit 6e2a754
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Empty file added servers/routers/gifs.js
Empty file.
6 changes: 3 additions & 3 deletions servers/tests/gifs.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ describe('gifs endpoint tests', () => {
});
it('should create a gif', (done) => {
const data = {
title: 'Eget duis at tellus at urna condimentum mattis pellentesque id',
//todo - Image should be gif
image: 'https://assets.imgix.net/hp/snowshoe.jpg?auto=compress&w=900&h=600&fit=crop'
title: 'Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nam nec ante. Sed lacinia, urna non tincidunt mattis, tortor neque adipiscing diam, a cursus ipsum ante quis turpis. Nulla facilisi.',
/*todo - Image should be gif */
image: 'https://www.wildlifeonline.me.uk/assets/ugc/images/hedgehog_catfood_plate_1.jpg'
};
chai.request(server)
.post('/api/v2/gifs')
Expand Down

0 comments on commit 6e2a754

Please sign in to comment.