diff options
author | Kyrylo Silin <silin@kyrylo.org> | 2020-03-21 10:48:23 +0800 |
---|---|---|
committer | Kyrylo Silin <silin@kyrylo.org> | 2020-03-21 10:48:23 +0800 |
commit | 7bf0bb4210abc92faab60c611554dc45c7c45f75 (patch) | |
tree | 97219bcf1e4fb5872bb3e4e1be029b2cd6536cc9 /spec | |
parent | 129bc35fde97e3eaa25df836e3db109094edaa2d (diff) | |
download | pry-7bf0bb4210abc92faab60c611554dc45c7c45f75.tar.gz |
spec/integration/bundler: fix the "no dependencies" warning
Fixes the following warning:
```
The Gemfile specifies no dependencies
```
Diffstat (limited to 'spec')
-rw-r--r-- | spec/integration/bundler_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/integration/bundler_spec.rb b/spec/integration/bundler_spec.rb index 3e8d146f..2c4f2b27 100644 --- a/spec/integration/bundler_spec.rb +++ b/spec/integration/bundler_spec.rb @@ -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 |