Skip to content

Commit d61894b

Browse files
committed
Tidy up data-disable-with test source a bit.
1 parent 1c84b33 commit d61894b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

test/public/test/data-disable-with.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ module('data-disable-with', {
2727
}
2828
});
2929

30-
3130
asyncTest('form input field with "data-disable-with" attribute', 7, function() {
3231
var form = $('form[data-remote]'), input = form.find('input[type=text]');
3332

@@ -38,8 +37,8 @@ asyncTest('form input field with "data-disable-with" attribute', 7, function() {
3837
App.checkEnabledState(input, 'john');
3938
equal(data.params.user_name, 'john');
4039
start();
41-
}, 13)
42-
})
40+
}, 13);
41+
});
4342
form.trigger('submit');
4443

4544
App.checkDisabledState(input, 'processing ...');
@@ -55,8 +54,8 @@ asyncTest('form button with "data-disable-with" attribute', 6, function() {
5554
setTimeout(function() {
5655
App.checkEnabledState(button, 'Submit');
5756
start();
58-
}, 13)
59-
})
57+
}, 13);
58+
});
6059
form.trigger('submit');
6160

6261
App.checkDisabledState(button, 'submitting ...');
@@ -119,8 +118,8 @@ asyncTest('form[data-remote] textarea[data-disable-with] attribute', 3, function
119118
setTimeout(function() {
120119
equal(data.params.user_bio, 'born, lived, died.');
121120
start();
122-
}, 13)
123-
})
121+
}, 13);
122+
});
124123
form.trigger('submit');
125124

126125
App.checkDisabledState(textarea, 'processing ...');

0 commit comments

Comments
 (0)