Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test("booking gets proper starting coordinates at the begining", function() {
- expect(2);
- var event = jQuery.Event("mousedown.calendar");
- event.pageX = 100;
- event.pageY = 200;
- jQuery(".weekday > .event_box").first().trigger(event);
- equals(booking.startX, 100, "startX");
- equals(booking.startY, 200, "startY");
- });
Add Comment
Please, Sign In to add comment