aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/other/major_deprecation_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/other/major_deprecation_spec.rb')
-rw-r--r--spec/bundler/other/major_deprecation_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/other/major_deprecation_spec.rb b/spec/bundler/other/major_deprecation_spec.rb
index 83944e4075..8f712565b2 100644
--- a/spec/bundler/other/major_deprecation_spec.rb
+++ b/spec/bundler/other/major_deprecation_spec.rb
@@ -240,7 +240,7 @@ RSpec.describe "major deprecations" do
expect(deprecations).to be_empty
end
- it "should print a proper warning, and use gems.rb" do
+ it "should print a proper warning, and use gems.rb", :ruby_repo do
create_file "gems.rb"
install_gemfile! <<-G
source "file://#{gem_repo1}"
@@ -340,7 +340,7 @@ RSpec.describe "major deprecations" do
RUBY
end
- it "should print a single deprecation warning" do
+ it "should print a single deprecation warning", :ruby_repo do
expect(warnings).to include(
"Multiple gemfiles (gems.rb and Gemfile) detected. Make sure you remove Gemfile and Gemfile.lock since bundler is ignoring them in favor of gems.rb and gems.rb.locked."
)