|
|
@ -13,7 +13,7 @@ require "pundit/rspec" |
|
|
|
|
|
|
|
|
|
|
|
Capybara.register_driver :headless do |app| |
|
|
|
Capybara.register_driver :headless do |app| |
|
|
|
options = Selenium::WebDriver::Firefox::Options.new |
|
|
|
options = Selenium::WebDriver::Firefox::Options.new |
|
|
|
options.add_argument("--headless") |
|
|
|
# options.add_argument("--headless") |
|
|
|
|
|
|
|
|
|
|
|
Capybara::Selenium::Driver.new(app, browser: :firefox, options:) |
|
|
|
Capybara::Selenium::Driver.new(app, browser: :firefox, options:) |
|
|
|
end |
|
|
|
end |
|
|
|