Skip to content

Commit

Permalink
Make test run outside of bundle exec
Browse files Browse the repository at this point in the history
  • Loading branch information
marcandre committed Jul 14, 2020
1 parent 672bac8 commit 6b86210
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/rubocop/config_loader_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,8 @@ class Loop < Cop

context 'and the gem is bundled' do
before do
require 'bundler'

specs = {
'gemone' => [OpenStruct.new(full_gem_path: File.join(gem_root, 'gemone'))],
'gemtwo' => [OpenStruct.new(full_gem_path: File.join(gem_root, 'gemtwo'))]
Expand Down

0 comments on commit 6b86210

Please sign in to comment.