This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define(['lib/validator/rule.notEmpty'], function(_ruleNotEmpty_) { | |
| describe('rule.notEmpty', function() { | |
| var ruleNotEmpty; | |
| beforeEach(function() { | |
| ruleNotEmpty = new _ruleNotEmpty_(); | |
| }); | |
| describe('its checkField function', function() { | |
| // just wrap an it in a loop (if you have jquery you can use each) |