From ee590566253b4be42d3ce6fbe98af50cd11ffbdc Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Thu, 26 Feb 2015 09:54:21 -0800 Subject: [PATCH] [Fixed Layout] Update tests Update tests to reflect changes from WTD-894. --- platform/features/layout/test/FixedDragHandleSpec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/features/layout/test/FixedDragHandleSpec.js b/platform/features/layout/test/FixedDragHandleSpec.js index 674bb8794b..05040396d5 100644 --- a/platform/features/layout/test/FixedDragHandleSpec.js +++ b/platform/features/layout/test/FixedDragHandleSpec.js @@ -34,10 +34,10 @@ define( it("provides a style for positioning", function () { var style = handle.style(); - // 6 grid coords * 13 pixels - 4 pixels for centering - expect(style.left).toEqual('74px'); - // 8 grid coords * 33 pixels - 4 pixels for centering - expect(style.top).toEqual('260px'); + // 6 grid coords * 13 pixels - 3 pixels for centering + expect(style.left).toEqual('75px'); + // 8 grid coords * 33 pixels - 3 pixels for centering + expect(style.top).toEqual('261px'); }); it("allows handles to be dragged", function () {