diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-12 12:08:32 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-12 18:43:50 +0200 |
commit | 8fb08cfde7f60f3fdbc91818d11e1daa254832e5 (patch) | |
tree | d4fa591c4a175aef72cfcc88516c07a4ccc44672 | |
parent | b2ce7f93a630e837f5ef3e09f46b96e3c6e6cc7f (diff) | |
download | bundler-8fb08cfde7f60f3fdbc91818d11e1daa254832e5.tar.gz |
Fix bin conflict spec to not use deprecated featurewarn_to_deprecation
-rw-r--r-- | spec/install/binstubs_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/install/binstubs_spec.rb b/spec/install/binstubs_spec.rb index 4f96cec65f..daa20693c7 100644 --- a/spec/install/binstubs_spec.rb +++ b/spec/install/binstubs_spec.rb @@ -28,7 +28,7 @@ RSpec.describe "bundle install" do end end - install_gemfile <<-G, :binstubs => true + install_gemfile <<-G source "file://#{gem_repo2}" gem "fake" gem "rack" @@ -36,7 +36,7 @@ RSpec.describe "bundle install" do end it "warns about the situation" do - gembin("rackup") + bundle! "exec rackup" expect(last_command.stderr).to include( "The `rackup` executable in the `fake` gem is being loaded, but it's also present in other gems (rack).\n" \ |