Skip to content

Commit c2efd31

Browse files
committed
Quote browser path to handle spaces
1 parent 8689886 commit c2efd31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/spec_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
ENV["FERRUM_NEW_WINDOW_WAIT"] ||= "0.8" if ENV["CI"]
1515

1616
puts ""
17-
command = Ferrum::Browser::Command.build({ window_size: [], ignore_default_browser_options: true }, nil)
18-
puts `#{command.to_a.first} --version`
17+
command = Ferrum::Browser::Command.build({}, nil)
18+
puts `'#{command.path}' --version`
1919
puts ""
2020

2121
RSpec.configure do |config|

0 commit comments

Comments
 (0)