Browse files

Clearer test message

  • Loading branch information...
1 parent 0072255 commit 03a611c0b78bc57610e0445a0886a797d4ce674a @wagenet wagenet committed Jun 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 frameworks/foundation/tests/views/text_field/ui.js
View
2 frameworks/foundation/tests/views/text_field/ui.js
@@ -121,7 +121,7 @@ pane.verifyEmpty = function verifyEmpty(view, expectedHint) {
ok(!layer.hasClass('not-empty'), 'layer should not have not-empty class');
if(SC.browser.webkit || parseInt(SC.browser.mozilla) >= 2.0) equals(input.val(), '', 'input should have empty value');
- else equals(input.val(), expectedHint, 'input should have empty value');
+ else equals(input.val(), expectedHint, 'input should have expected hint as value');
if (expectedHint) {
var hint = view.$('.sc-hint');
if (hint.length===1) {

0 comments on commit 03a611c

Please sign in to comment.