summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-12 12:08:32 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-12 18:43:50 +0200
commit8fb08cfde7f60f3fdbc91818d11e1daa254832e5 (patch)
treed4fa591c4a175aef72cfcc88516c07a4ccc44672
parentb2ce7f93a630e837f5ef3e09f46b96e3c6e6cc7f (diff)
downloadbundler-warn_to_deprecation.tar.gz
Fix bin conflict spec to not use deprecated featurewarn_to_deprecation
-rw-r--r--spec/install/binstubs_spec.rb4
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" \