From 1eebb771e3940ddd6640ddc064d5fa6e539c536d Mon Sep 17 00:00:00 2001 From: Di Peng Date: Fri, 3 Jun 2011 15:22:43 -0700 Subject: renamed $pause to $sleep AND $wait to $pause Closes #207 --- src/validators.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/validators.js') 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/); }); -- cgit v1.2.3