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 ae4ad27 commit 3bfee4dCopy full SHA for 3bfee4d
demo/test/system/bootstrap_test.rb
@@ -82,7 +82,7 @@ class BootstrapTest < ApplicationSystemTestCase
82
83
def bounds(node)
84
client_rect = evaluate_script("arguments[0].getBoundingClientRect()", node.native)
85
- [client_rect["left"], client_rect["top"], client_rect["right"], client_rect["bottom"]]
+ [client_rect["left"].truncate, client_rect["top"].truncate, client_rect["right"].truncate, client_rect["bottom"].truncate]
86
.tap { |array| puts "#{array}" }
87
end
88
0 commit comments