diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-02-23 22:27:09 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-13 13:20:58 +0100 |
commit | 7985d9ababd4dee972d2a1ac8571b2db43eaf76b (patch) | |
tree | 90027bd9590b4b96f6202b02c87735905f49876b | |
parent | 6d2b42ad1459710acc56194e7be02ba8c2db3f96 (diff) | |
download | bundler-7985d9ababd4dee972d2a1ac8571b2db43eaf76b.tar.gz |
Remove unnecessary condition
This is require "built-in" behavior, it only loads files unless they
have been loaded before. So if the constant is defined, the file
should've been already loaded. Unless another file is defining that
constant, but in that case I'd like to know.
-rw-r--r-- | spec/support/rubygems_ext.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/rubygems_ext.rb b/spec/support/rubygems_ext.rb index f031570e33..edd66278ad 100644 --- a/spec/support/rubygems_ext.rb +++ b/spec/support/rubygems_ext.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require "rubygems/user_interaction" -require "support/path" unless defined?(Spec::Path) +require "support/path" module Spec module Rubygems |