Skip to content

Commit ae4ad27

Browse files
committed
Try without rounding
1 parent 33bf222 commit ae4ad27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/test/system/bootstrap_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class BootstrapTest < ApplicationSystemTestCase
8282

8383
def bounds(node)
8484
client_rect = evaluate_script("arguments[0].getBoundingClientRect()", node.native)
85-
[client_rect["left"].floor, client_rect["top"].floor, client_rect["right"].ceil, client_rect["bottom"].ceil]
85+
[client_rect["left"], client_rect["top"], client_rect["right"], client_rect["bottom"]]
8686
.tap { |array| puts "#{array}" }
8787
end
8888
end

0 commit comments

Comments
 (0)