Skip to content

Commit

Permalink
Corrected for 3.x namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
bcardarella committed Oct 27, 2011
1 parent de52e67 commit 3a333b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/javascript/public/test/validators/numericality.js
Expand Up @@ -32,9 +32,9 @@ test('when only allowing integers and value has a negative or positive sign', fu
var element = $('<input type="text" />');
var options = { messages: { only_integer: "failed validation"}, only_integer: true };
element.val('-23');
equal(ClientSideValidations.validators.local.numericality(element, options), undefined);
equal(clientSideValidations.validators.local.numericality(element, options), undefined);
element.val('+23');
equal(ClientSideValidations.validators.local.numericality(element, options), undefined);
equal(clientSideValidations.validators.local.numericality(element, options), undefined);
});

test('when only allowing integers and value is not integer', function() {
Expand Down

0 comments on commit 3a333b0

Please sign in to comment.