Test SDK without the "single" parameter; Small cleanup; Allow Client.get to accept a string for ID path parameter

This commit is contained in:
Bradyn Glines
2019-08-07 19:27:24 -05:00
parent 682f90c49a
commit a53c961506
2 changed files with 5 additions and 4 deletions

View File

@ -50,8 +50,8 @@ describe('Client', () => {
Client.get('sets', params)
.then(response => {
expect(response).to.be.a('object');
expect(response.name).to.equal('Base');
expect(response).to.be.a('array');
expect(response[0].name).to.equal('Base');
})
.catch(error => console.error(error));
});