diff options
author | Kyrylo Silin <silin@kyrylo.org> | 2020-03-21 11:00:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-21 11:00:03 +0800 |
commit | 36c7fdbc48ec0b81809e7f28e4df0fa3c9a4a4fa (patch) | |
tree | 97219bcf1e4fb5872bb3e4e1be029b2cd6536cc9 /spec | |
parent | 129bc35fde97e3eaa25df836e3db109094edaa2d (diff) | |
parent | 7bf0bb4210abc92faab60c611554dc45c7c45f75 (diff) | |
download | pry-36c7fdbc48ec0b81809e7f28e4df0fa3c9a4a4fa.tar.gz |
Merge pull request #2112 from pry/gemfile-warning-fix
spec/integration/bundler: fix the "no dependencies" warning
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 |