Skip to content

Commit

Permalink
Added tests to meet coverage thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Wemyss committed Nov 22, 2017
1 parent 9fc2615 commit af200b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/routes/donations-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('Donationss', function (){
});
});
});
/*describe('POST /donations', function () {
describe('POST /donations', function () {
it('should return confirmation message and update datastore', function(done) {
var donation = {
paymenttype: 'Visa' ,
Expand Down Expand Up @@ -76,9 +76,9 @@ describe('Donationss', function (){
done();
});
});
});*/
});

/*describe('PUT /donations/:id/votes', function () {
describe('PUT /donations/:id/votes', function () {
it('should return all donations with specified donation upvoted by 1', function(done) {
chai.request(server)
.put('/donations/1000001/votes')
Expand All @@ -103,7 +103,7 @@ describe('Donationss', function (){
});
});

});*/
});
after(function(done){
server.close(done)
});
Expand Down

0 comments on commit af200b5

Please sign in to comment.