summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/post_bundle_message_spec.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-03-02 20:36:40 +0900
committerNARUSE, Yui <nurse@users.noreply.github.com>2021-03-11 17:24:52 +0900
commit38f8b8d070aaac02f1d048b5d9947b2e58401e2b (patch)
tree7fe8202e3a2dc068b84627cf321bbb5798e21859 /spec/bundler/commands/post_bundle_message_spec.rb
parent70e9489f9ea85ddaa68fb43398c14a3921cacb27 (diff)
Merge RubyGems-3.2.10 and Bundler-2.2.10
Diffstat (limited to 'spec/bundler/commands/post_bundle_message_spec.rb')
-rw-r--r--spec/bundler/commands/post_bundle_message_spec.rb11
1 files changed, 1 insertions, 10 deletions
diff --git a/spec/bundler/commands/post_bundle_message_spec.rb b/spec/bundler/commands/post_bundle_message_spec.rb
index 2c965f0ddd..3f81808980 100644
--- a/spec/bundler/commands/post_bundle_message_spec.rb
+++ b/spec/bundler/commands/post_bundle_message_spec.rb
@@ -113,16 +113,7 @@ RSpec.describe "post bundle message" do
bundle "config set force_ruby_platform true"
end
- it "should report a helpful error message", :bundler => "< 3" do
- install_gemfile <<-G, :raise_on_error => false
- source "#{file_uri_for(gem_repo1)}"
- gem "rack"
- gem "not-a-gem", :group => :development
- G
- expect(err).to include("Could not find gem 'not-a-gem' in any of the gem sources listed in your Gemfile.")
- end
-
- it "should report a helpful error message", :bundler => "3" do
+ it "should report a helpful error message" do
install_gemfile <<-G, :raise_on_error => false
source "#{file_uri_for(gem_repo1)}"
gem "rack"