1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Merge pull request #2112 from pry/gemfile-warning-fix

spec/integration/bundler: fix the "no dependencies" warning
This commit is contained in:
Kyrylo Silin 2020-03-21 11:00:03 +08:00 committed by GitHub
commit 36c7fdbc48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,12 @@ RSpec.describe 'Bundler' do
code = <<-RUBY
require "pry"
require "bundler/inline"
# Silence the "The Gemfile specifies no dependencies" warning
class Bundler::UI::Shell
def warn(*args, &block); end
end
gemfile(true) do
source "https://rubygems.org"
end