summaryrefslogtreecommitdiff
path: root/spec/install/binstubs_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/install/binstubs_spec.rb')
-rw-r--r--spec/install/binstubs_spec.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/install/binstubs_spec.rb b/spec/install/binstubs_spec.rb
index 9f361035e0..23eb691ab8 100644
--- a/spec/install/binstubs_spec.rb
+++ b/spec/install/binstubs_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-RSpec.describe "bundle install" do
+RSpec.describe "bundle install", :bundler => "< 2" do
describe "when system_bindir is set" do
# On OS X, Gem.bindir defaults to /usr/bin, so system_bindir is useful if
# you want to avoid sudo installs for system gems with OS X's default ruby
@@ -35,12 +35,6 @@ RSpec.describe "bundle install" do
G
end
- it "prints a deprecation notice" do
- bundle "config major_deprecations true"
- gembin("rackup")
- expect(out).to include("Bundler is using a binstub that was created for a different gem (rack).")
- end
-
it "loads the correct spec's executable" do
gembin("rackup")
expect(out).to eq("1.2")