We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bfee4d commit 685dcddCopy full SHA for 685dcdd
demo/test/system/bootstrap_test.rb
@@ -82,7 +82,6 @@ class BootstrapTest < ApplicationSystemTestCase
82
83
def bounds(node)
84
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}" }
+ [client_rect["left"].floor, client_rect["top"].floor, client_rect["right"].ceil, client_rect["bottom"].ceil]
87
end
88
0 commit comments