Fix tests.

This commit is contained in:
gaba
2017-05-05 14:09:00 -07:00
parent cb09c50820
commit d7e72bb138
4 changed files with 32 additions and 40 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ describe('graph.mutations.createComment', () => {
id
status
tags {
name
id
}
}
errors {
@@ -228,7 +228,7 @@ describe('graph.mutations.createComment', () => {
.then(({tags}) => {
if (tag) {
expect(tags).to.have.length(1);
expect(tags[0]).to.have.property('name', tag);
expect(tags[0]).to.have.property('id', tag);
} else {
expect(tags).length(0);
}