Skip to content

Commit

Permalink
Fix rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
blacksmith-welder committed Oct 9, 2024
1 parent 6ece269 commit c434e98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
options = Selenium::WebDriver::Firefox::Options.new
options.add_argument(HEADLESS)

Capybara::Selenium::Driver.new(app, browser: :firefox, options: options)
Capybara::Selenium::Driver.new(app, browser: :firefox, options:)
end

Capybara.register_driver :firefox_alternative_session do |app|
options = Selenium::WebDriver::Firefox::Options.new
options.add_argument(HEADLESS)

Capybara::Selenium::Driver.new(app, browser: :firefox, options: options)
Capybara::Selenium::Driver.new(app, browser: :firefox, options:)
end

Capybara.default_driver = :firefox
Expand Down

0 comments on commit c434e98

Please sign in to comment.