Clean up delete button and tests

Fixes #59
This commit is contained in:
Matthew Dillon 2015-11-16 10:32:49 -07:00
parent dfe2c9cd74
commit 5ba3b125e8
7 changed files with 90 additions and 15 deletions

View file

@ -19,11 +19,13 @@ export function testConfig() {
this.post('/species');
this.get('/species/:id');
this.put('/species/:id');
this.delete('/species/:id');
this.get('/characteristics');
this.post('/characteristics');
this.get('/characteristics/:id');
this.put('/characteristics/:id');
this.delete('/characteristics/:id');
this.get('/strains', function(db /*, request*/) {
return {
@ -39,4 +41,5 @@ export function testConfig() {
};
});
this.put('/strains/:id');
this.delete('/strains/:id');
}