mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
spec/integration/bundler: fix the "no dependencies" warning
Fixes the following warning: ``` The Gemfile specifies no dependencies ```
This commit is contained in:
parent
129bc35fde
commit
7bf0bb4210
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
Add a link
Reference in a new issue