diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-11-28 12:31:33 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-11-28 15:37:24 +0100 |
commit | bbd5dcae75e750c6be342c4a7746f1b26e654484 (patch) | |
tree | 7fa24f0c13008c28ad3a17e783444826b9fe3fa1 | |
parent | d75ee1844fa1f122bd0aed6b06191280f02052a8 (diff) | |
download | bundler-bbd5dcae75e750c6be342c4a7746f1b26e654484.tar.gz |
`Gem::Specification` should always be an `Enumerable`
-rw-r--r-- | spec/runtime/setup_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb index dd6e35d141..5822b66c92 100644 --- a/spec/runtime/setup_spec.rb +++ b/spec/runtime/setup_spec.rb @@ -1265,9 +1265,7 @@ end let(:default_gems) do ruby!(<<-RUBY).split("\n") - if Gem::Specification.is_a?(Enumerable) - puts Gem::Specification.select(&:default_gem?).map(&:name) - end + puts Gem::Specification.select(&:default_gem?).map(&:name) RUBY end |