From 8fb08cfde7f60f3fdbc91818d11e1daa254832e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 12 Apr 2019 12:08:32 +0200 Subject: Fix bin conflict spec to not use deprecated feature --- spec/install/binstubs_spec.rb | 4 ++-- 1 file 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" \ -- cgit v1.2.1