Skip to content

Commit

Permalink
Write contraint in capital letters
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Gertz committed Jul 25, 2016
1 parent d41aa6c commit 0d30ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/units/AppFormValidators.test.js
Expand Up @@ -135,7 +135,7 @@ describe("App Form Validators", function () {

it("list of valid constraints", function () {
let constraints =
"hostname:UNIQUE, atomic:LIKE:man, rackid:CLUSTER:rack-1, dc:max_per:2";
"hostname:UNIQUE, atomic:LIKE:man, rackid:CLUSTER:rack-1, dc:MAX_PER:2";
expect(this.validatior.constraints(constraints)).to.be.true;
constraints =
"rackid:GROUP_BY, atomic:UNLIKE:man";
Expand Down

0 comments on commit 0d30ea9

Please sign in to comment.