[Browse] Tests completed

Completed the menu arrow controller test. All
tests are now completed. #33.
This commit is contained in:
Sarah Hale
2015-07-07 09:28:01 -07:00
parent e3a96eff8d
commit b2a23ee968
2 changed files with 16 additions and 39 deletions

View File

@@ -70,26 +70,6 @@ define(
mockDomainObject.calls
);
});
////// Is this one here or in action spec? (shale)
/*
it("removes listeners from body if destroyed while menu is showing", function () {
// Show the menu
fireGesture(mockEvent);
// Verify preconditions
expect(mockBody.off).not.toHaveBeenCalled();
expect(mockMenu.remove).not.toHaveBeenCalled();
// Destroy the menu
gesture.destroy();
// Verify menu was removed and listener detached
expect(mockBody.off).toHaveBeenCalled();
expect(mockMenu.remove).toHaveBeenCalled();
});
*/
});
}
);