From 278bdf6711e5d7dbb7fd7bcd860032cd5223058b Mon Sep 17 00:00:00 2001 From: Ibrahim Awwal Date: Mon, 17 Sep 2018 23:12:38 -0700 Subject: [PATCH] Use double quotes --- lib/chromedriver/helper/google_code_parser.rb | 2 +- spec/google_code_parser_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chromedriver/helper/google_code_parser.rb b/lib/chromedriver/helper/google_code_parser.rb index 8f12057..bbd6700 100644 --- a/lib/chromedriver/helper/google_code_parser.rb +++ b/lib/chromedriver/helper/google_code_parser.rb @@ -12,7 +12,7 @@ class GoogleCodeParser def initialize(platform, open_uri_provider=OpenURI) @platform = platform @source = open_uri_provider.open_uri(BUCKET_URL) - @newest_download_version = Gem::Version.new(open_uri_provider.open_uri(URI.join(BUCKET_URL, 'LATEST_RELEASE')).read) + @newest_download_version = Gem::Version.new(open_uri_provider.open_uri(URI.join(BUCKET_URL, "LATEST_RELEASE")).read) end def downloads diff --git a/spec/google_code_parser_spec.rb b/spec/google_code_parser_spec.rb index a1ef845..e8fb60f 100644 --- a/spec/google_code_parser_spec.rb +++ b/spec/google_code_parser_spec.rb @@ -5,7 +5,7 @@ double("open_uri_provider").tap do |oup| allow(oup).to receive(:open_uri) do |uri| case uri.to_s - when 'https://chromedriver.storage.googleapis.com/LATEST_RELEASE' + when "https://chromedriver.storage.googleapis.com/LATEST_RELEASE" StringIO.new("2.42") when "https://chromedriver.storage.googleapis.com" File.read(File.join(File.dirname(__FILE__), "assets/google-code-bucket.xml"))