1
0
Fork 0
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:
Kyrylo Silin 2020-03-21 10:48:23 +08:00
parent 129bc35fde
commit 7bf0bb4210

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