Skip to content

Commit

Permalink
Creating a failing spec based on Fiote's bug report
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiomcosta committed Nov 27, 2010
1 parent 04cf660 commit 94cb913
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Specs/moo.meio.mask.user.js
Expand Up @@ -61,3 +61,12 @@ test('should mask the typed value with the Regexp mask type', function(){
equals(input.value, '123.456.999.123');
});
});

test('should mask inputs with pre-defined values', function(){
input.set('value', '333').meiomask('fixed.cpf');
stop();
Syn.click({}, input).type('12322255500', function(){
start();
equals(input.value, '123.222.555-00');
});
});

0 comments on commit 94cb913

Please sign in to comment.