Permalink
Browse files

Fixes specs due to change in json schema validation framework in bugs…

…warm-api
  • Loading branch information...
1 parent d8606da commit b3f1161e3260afdea989ebbdd71be5756cfb2851 @c4milo c4milo committed Apr 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 configuration/specs/apikey.spec.js
@@ -67,8 +67,8 @@ describe('ApiKey service', function(){
var errors = err.errors;
Array.isArray(errors).should.be.eql(true);
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].code.should.be.eql('enum');
+ errors[0].description.should.be.eql('does not match the regex pattern ^[a-zA-Z0-9]+$');
+ errors[0].code.should.be.eql('CONTRACT_VIOLATION');
done();
});
});

0 comments on commit b3f1161

Please sign in to comment.