Skip to content

Commit

Permalink
Merge c95439c into 701ca80
Browse files Browse the repository at this point in the history
  • Loading branch information
tmmi committed Jun 17, 2016
2 parents 701ca80 + c95439c commit d49f984
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: node_js
before_install:
- npm install -g npm
- npm cache clear
- npm install -g gulp
node_js:
Expand Down
2 changes: 1 addition & 1 deletion src/js/constants/ValidConstraints.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const ValidConstraints = ["unique", "like", "unlike", "cluster", "group_by"];
const ValidConstraints = ["unique", "like", "unlike", "cluster", "group_by", "max_per"];

export default Object.freeze(ValidConstraints);
2 changes: 1 addition & 1 deletion src/test/units/AppFormValidators.test.js
Original file line number Diff line number Diff line change
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";
"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 d49f984

Please sign in to comment.