remove keydown test since we do not do that anymore

This commit is contained in:
maxwell 2011-01-07 16:39:27 -08:00
parent 3641470399
commit c7fb3d7296

View file

@ -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();