Skip to content

Commit 01f786e

Browse files
committed
fix(appengine/websockets): register no-sandbox
1 parent bdf9dda commit 01f786e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

appengine/websockets/spec/websockets_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121

2222
Capybara.app = Sinatra::Application
2323

24+
Capybara.register_driver :cuprite do |app|
25+
Capybara::Cuprite::Driver.new(app, browser_options: {'no-sandbox': nil})
26+
end
27+
2428
Capybara.register_server :thin do |app, port, host|
2529
require "rack/handler/thin"
2630
Rack::Handler::Thin.run(app, :Port => port, :Host => host)

0 commit comments

Comments
 (0)