Skip to content

Commit d37f7c5

Browse files
committed
rb - for some reason Windows command line is adding a trailing space
1 parent fe7135a commit d37f7c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def initialize
3030
@create_driver_error_count = 0
3131

3232
# TODO: get rid of ENV
33-
@driver = (ENV['WD_SPEC_DRIVER'] || raise("must set WD_SPEC_DRIVER")).to_sym
33+
@driver = (ENV['WD_SPEC_DRIVER'] || raise("must set WD_SPEC_DRIVER")).strip.to_sym
3434
end
3535

3636
def browser

0 commit comments

Comments
 (0)