aboutsummaryrefslogtreecommitdiffstats
path: root/src/validators.js
diff options
context:
space:
mode:
authorDi Peng2011-06-03 15:22:43 -0700
committerDi Peng2011-06-05 12:00:45 -0700
commit1eebb771e3940ddd6640ddc064d5fa6e539c536d (patch)
treee9dd762dcfd512837646ac95deacd334bc766ffc /src/validators.js
parent9250fce19c39203c702f22fde43724e1a7a19544 (diff)
downloadangular.js-1eebb771e3940ddd6640ddc064d5fa6e539c536d.tar.bz2
renamed $pause to $sleep AND $wait to $pause
Closes #207
Diffstat (limited to 'src/validators.js')
-rw-r--r--src/validators.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validators.js b/src/validators.js
index 0696c8d7..de67a965 100644
--- a/src/validators.js
+++ b/src/validators.js
@@ -387,7 +387,7 @@ extend(angularValidator, {
expect(textBox.attr('className')).not().toMatch(/ng-validation-error/);
input('text').enter('X');
expect(textBox.attr('className')).toMatch(/ng-input-indicator-wait/);
- pause(.6);
+ sleep(.6);
expect(textBox.attr('className')).not().toMatch(/ng-input-indicator-wait/);
expect(textBox.attr('className')).toMatch(/ng-validation-error/);
});