Skip to content

Commit 685dcdd

Browse files
committed
Upgrade version of selenium
1 parent 3bfee4d commit 685dcdd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

demo/test/system/bootstrap_test.rb

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

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

0 commit comments

Comments
 (0)