summaryrefslogtreecommitdiff
path: root/spec/bundler/source_list_spec.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-06-22 17:20:43 -0500
committerSamuel Giddins <segiddins@segiddins.me>2017-07-19 13:10:39 -0500
commit8ccf49c3b4a086f1e0cad2130dc30c04304175b7 (patch)
treede546229a7f32d7d3e0d5adf9699001f2b1a8057 /spec/bundler/source_list_spec.rb
parent04fd47b1221edabbb46caf34798e5340bc46e1ec (diff)
downloadbundler-8ccf49c3b4a086f1e0cad2130dc30c04304175b7.tar.gz
[Settings] Stop remembering CLI options in Bundler 2
Diffstat (limited to 'spec/bundler/source_list_spec.rb')
-rw-r--r--spec/bundler/source_list_spec.rb2
1 files changed, 1 insertions, 1 deletions
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