remove keydown test since we do not do that anymore
This commit is contained in:
parent
3641470399
commit
c7fb3d7296
1 changed files with 0 additions and 7 deletions
|
|
@ -103,13 +103,6 @@ describe("View", function() {
|
|||
});
|
||||
|
||||
describe("keydown", function() {
|
||||
it("is called when the user types", function() {
|
||||
spyOn(View.publisher, "keydown");
|
||||
View.initialize();
|
||||
$(View.publisher.selector).trigger("keydown");
|
||||
expect(View.publisher.keydown).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it("submits the form if the user hits enter while the textarea is focused", function() {
|
||||
spyOn($.fn, "submit");
|
||||
View.initialize();
|
||||
|
|
|
|||
Loading…
Reference in a new issue