-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
The test for this looks like this:
it('should update existing metadata', function(done){
api.put('/api/participant/'+part2._id)
.set('x-access-token', apiToken2)
.send({
metadata : [{
key : 'Phone',
value : '212-679-4251',
group : 'Dental'
},
{
key : 'Name',
value : 'Shauna',
group : 'Dental'
}]
})
.expect(200)
.then(function(data){
expect(data.body.metadata).to.have.length(6)
done();
})
})
And it generates the correct CURL but incorrect tagging and styling:

The "it" block is nested within two "describe" blocks - the top one to group general objects, the second to group the verb on that object, in this case "participant CRUD" then "participant PUT." This is an occasional bug - it looks like it just turns up sometimes on large suites.
Metadata
Metadata
Assignees
Labels
No labels