Skip to content
This repository has been archived by the owner on Apr 1, 2019. It is now read-only.

Commit

Permalink
Use double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahima committed Sep 18, 2018
1 parent 8ba261c commit 278bdf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/chromedriver/helper/google_code_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/google_code_parser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 278bdf6

Please sign in to comment.