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:
commit
36c7fdbc48
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue