Skip to content

Commit

Permalink
Validations shouldn't be const
Browse files Browse the repository at this point in the history
  • Loading branch information
Offir Golan committed Feb 12, 2016
1 parent 30073c3 commit f9e4984
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/validators/has-many.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import Base from 'ember-cp-validations/validators/base';

const {
canInvoke,
A: emberArray
} = Ember;

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/validations/factory-general-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Validators = {
}
};

const Validations = buildValidations({
var Validations = buildValidations({
firstName: validator(Validators.presence),
lastName: validator(Validators.presence)
});
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/validations/model-relationships-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Validators = {
}
};

const Validations = buildValidations({
var Validations = buildValidations({
firstName: validator(Validators.presence),
lastName: validator(Validators.presence)
});
Expand Down

0 comments on commit f9e4984

Please sign in to comment.