From bc2aedc0768581dec1e18b551722e3c3c498daf1 Mon Sep 17 00:00:00 2001 From: Peter Berkenbosch Date: Fri, 2 Feb 2024 14:41:54 +0100 Subject: [PATCH] Fix updated linting errors --- spec/system/support/cuprite_setup.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/spec/system/support/cuprite_setup.rb b/spec/system/support/cuprite_setup.rb index 61596ffb..7eddc66d 100644 --- a/spec/system/support/cuprite_setup.rb +++ b/spec/system/support/cuprite_setup.rb @@ -33,12 +33,10 @@ Capybara.register_driver(:better_cuprite) do |app| Capybara::Cuprite::Driver.new( app, - **{ - window_size: [1200, 800], - browser_options: remote_chrome ? {"no-sandbox" => nil} : {}, - inspector: true, - timeout: 60 - }.merge(remote_options) + window_size: [1200, 800], + browser_options: remote_chrome ? {"no-sandbox" => nil} : {}, + inspector: true, + timeout: 60, **remote_options ) end