From 8ccf49c3b4a086f1e0cad2130dc30c04304175b7 Mon Sep 17 00:00:00 2001 From: Samuel Giddins Date: Thu, 22 Jun 2017 17:20:43 -0500 Subject: [Settings] Stop remembering CLI options in Bundler 2 --- spec/bundler/source_list_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/bundler/source_list_spec.rb') diff --git a/spec/bundler/source_list_spec.rb b/spec/bundler/source_list_spec.rb index 915b638a46..ce3353012c 100644 --- a/spec/bundler/source_list_spec.rb +++ b/spec/bundler/source_list_spec.rb @@ -85,7 +85,7 @@ RSpec.describe Bundler::SourceList do end it "ignores git protocols on request" do - Bundler.settings["git.allow_insecure"] = true + Bundler.settings.temporary(:"git.allow_insecure" => true) expect(Bundler.ui).to_not receive(:warn).with(msg) source_list.add_git_source("uri" => "git://existing-git.org/path.git") end -- cgit v1.2.1