From 1972c68321ef101f93a6495a49b23382b9fbc767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=AA=E3=81=A4=E3=81=8D?= Date: Wed, 2 Dec 2026 10:30:16 -0800 Subject: [PATCH] Fix test --- test/support/dummy_rails_integration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/support/dummy_rails_integration.rb b/test/support/dummy_rails_integration.rb index c1604b16..9f617988 100644 --- a/test/support/dummy_rails_integration.rb +++ b/test/support/dummy_rails_integration.rb @@ -19,7 +19,7 @@ def screenshot! path = "tmp/#{name}.png" full_path = File.join(GEM_PATH, path) FileUtils.mkdir_p(File.dirname(full_path)) - page.driver.render(full_path, full: true) + page.driver.save_screenshot(full_path, full: true) STDERR.puts "Screenshot saved to #{path}" end