From 2cba3222008a6b326b60bbe0180c3985b6cb3a0a Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Tue, 8 Aug 2017 22:28:08 +0200 Subject: Allow `curl` args to be overriden. --- Library/Homebrew/test/cask/download_strategy_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/test') diff --git a/Library/Homebrew/test/cask/download_strategy_spec.rb b/Library/Homebrew/test/cask/download_strategy_spec.rb index 60d101bdb..17da1e36e 100644 --- a/Library/Homebrew/test/cask/download_strategy_spec.rb +++ b/Library/Homebrew/test/cask/download_strategy_spec.rb @@ -26,11 +26,11 @@ describe "download strategies", :cask do downloader.fetch expect(downloader).to have_received(:curl).with( - cask.url.to_s, "--location", "--remote-time", "--continue-at", "-", "--output", kind_of(Pathname), + cask.url.to_s, user_agent: :default ) end -- cgit v1.2.3