From cc8f029f222a618eb30b585ccb22efcce1e5cf91 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 12 Mar 2017 19:44:01 +0000 Subject: secure urls + remove -k from in-doc curl command --- Library/Homebrew/test/cask/cli/home_spec.rb | 2 +- Library/Homebrew/test/cask/download_strategy_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Homebrew/test') diff --git a/Library/Homebrew/test/cask/cli/home_spec.rb b/Library/Homebrew/test/cask/cli/home_spec.rb index 5208b3390..7be26dd4c 100644 --- a/Library/Homebrew/test/cask/cli/home_spec.rb +++ b/Library/Homebrew/test/cask/cli/home_spec.rb @@ -40,7 +40,7 @@ describe Hbc::CLI::Home, :cask do it "opens the project page when no Cask is specified" do Hbc::CLI::Home.run expect(Hbc::CLI::Home.system_commands).to eq [ - ["/usr/bin/open", "--", "http://caskroom.github.io/"], + ["/usr/bin/open", "--", "https://caskroom.github.io/"], ] end end diff --git a/Library/Homebrew/test/cask/download_strategy_spec.rb b/Library/Homebrew/test/cask/download_strategy_spec.rb index 0d92b74ec..416a830ea 100644 --- a/Library/Homebrew/test/cask/download_strategy_spec.rb +++ b/Library/Homebrew/test/cask/download_strategy_spec.rb @@ -60,7 +60,7 @@ describe "download strategies", :cask do downloader.fetch end - expect(curl_args.each_cons(2)).to include(["-A", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10) http://caskroom.github.io"]) + expect(curl_args.each_cons(2)).to include(["-A", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10) https://caskroom.github.io"]) end end -- cgit v1.2.3