Skip to content

Commit

Permalink
add test that search should return fields involved in search
Browse files Browse the repository at this point in the history
  • Loading branch information
DrPaulBrewer committed Jan 13, 2018
1 parent adea0d5 commit 9fd0b9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ describe('decorated-google-drive:', function(){
})().then((info)=>{
assert.ok(info.files.length===1, "info.files should contain one file");
assert.ok(info.files[0].name==="README.md", "info.files[0].name should be README.md");
info.files[0].appProperties.role.should.equal('documentation');
assert.ok(typeof(info.files[0].description)==='undefined', "info.files[0].description should be undefined");
})
);
});
Expand Down

0 comments on commit 9fd0b9e

Please sign in to comment.