remove all keydown tests
This commit is contained in:
parent
c7fb3d7296
commit
24942d2f77
1 changed files with 0 additions and 13 deletions
|
|
@ -101,19 +101,6 @@ describe("View", function() {
|
||||||
'</div>'
|
'</div>'
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("keydown", function() {
|
|
||||||
it("submits the form if the user hits enter while the textarea is focused", function() {
|
|
||||||
spyOn($.fn, "submit");
|
|
||||||
View.initialize();
|
|
||||||
$(View.publisher.selector).focus();
|
|
||||||
var event = $.Event("keydown");
|
|
||||||
event.ShiftKey = true;
|
|
||||||
event.keyCode = 13;
|
|
||||||
$(View.publisher.selector).trigger(event);
|
|
||||||
expect($.fn.submit).toHaveBeenCalled();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("search", function() {
|
describe("search", function() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue