diff options
Diffstat (limited to 'spec/support/helpers.rb')
-rw-r--r-- | spec/support/helpers.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb index 0567b26c01..478fe60822 100644 --- a/spec/support/helpers.rb +++ b/spec/support/helpers.rb @@ -313,12 +313,6 @@ module Spec bundle :lock, opts end - # Makes tests that require absence of any Gemfiles pass, even if the running - # system has a Gemfile further up from the specs folder - def ensure_no_gemfile - allow(Bundler::SharedHelpers).to receive(:search_up).and_return(nil) - end - def install_gems(*gems) options = gems.last.is_a?(Hash) ? gems.pop : {} gem_repo = options.fetch(:gem_repo) { gem_repo1 } |