Skip to content

Commit

Permalink
Fixes specs due to change in json schema validation framework in bugs…
Browse files Browse the repository at this point in the history
…warm-api
  • Loading branch information
c4milo committed Apr 9, 2012
1 parent d8606da commit b3f1161
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configuration/specs/apikey.spec.js
Expand Up @@ -67,8 +67,8 @@ describe('ApiKey service', function(){
var errors = err.errors; var errors = err.errors;
Array.isArray(errors).should.be.eql(true); Array.isArray(errors).should.be.eql(true);
errors[0].field.should.be.eql('type'); errors[0].field.should.be.eql('type');
errors[0].description.should.be.eql('Instance is not one of the possible values: configuration,participation'); errors[0].description.should.be.eql('does not match the regex pattern ^[a-zA-Z0-9]+$');
errors[0].code.should.be.eql('enum'); errors[0].code.should.be.eql('CONTRACT_VIOLATION');
done(); done();
}); });
}); });
Expand Down

0 comments on commit b3f1161

Please sign in to comment.