diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-11-28 12:18:40 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-11-28 15:37:18 +0100 |
commit | 9bac88a953902e2f4e73ac4650a9692f2c03b172 (patch) | |
tree | dac20914a48dc1ed5267851612d553fee3b54487 /spec/install/gems/resolving_spec.rb | |
parent | c3eae8ea436af06ab2c3f4bdd25bd9dd6e7c9eef (diff) | |
download | bundler-9bac88a953902e2f4e73ac4650a9692f2c03b172.tar.gz |
Always pass env as strings to helpers
Diffstat (limited to 'spec/install/gems/resolving_spec.rb')
-rw-r--r-- | spec/install/gems/resolving_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/install/gems/resolving_spec.rb b/spec/install/gems/resolving_spec.rb index f7c72d7e31..52511ff67f 100644 --- a/spec/install/gems/resolving_spec.rb +++ b/spec/install/gems/resolving_spec.rb @@ -108,7 +108,7 @@ RSpec.describe "bundle install with install-time dependencies" do end end - install_gemfile <<-G, :artifice => "compact_index", :env => { "BUNDLER_SPEC_GEM_REPO" => gem_repo2 } + install_gemfile <<-G, :artifice => "compact_index", :env => { "BUNDLER_SPEC_GEM_REPO" => gem_repo2.to_s } ruby "#{RUBY_VERSION}" source "http://localgemserver.test/" gem 'rack' @@ -127,7 +127,7 @@ RSpec.describe "bundle install with install-time dependencies" do build_gem "foo1", "1.0" end - install_gemfile <<-G, :artifice => "compact_index_rate_limited", :env => { "BUNDLER_SPEC_GEM_REPO" => gem_repo4 } + install_gemfile <<-G, :artifice => "compact_index_rate_limited", :env => { "BUNDLER_SPEC_GEM_REPO" => gem_repo4.to_s } ruby "#{RUBY_VERSION}" source "http://localgemserver.test/" gem 'rack' @@ -153,7 +153,7 @@ RSpec.describe "bundle install with install-time dependencies" do shared_examples_for "ruby version conflicts" do it "raises an error during resolution" do - install_gemfile <<-G, :artifice => "compact_index", :env => { "BUNDLER_SPEC_GEM_REPO" => gem_repo2 } + install_gemfile <<-G, :artifice => "compact_index", :env => { "BUNDLER_SPEC_GEM_REPO" => gem_repo2.to_s } source "http://localgemserver.test/" ruby #{ruby_requirement} gem 'require_ruby' |