Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Jan 20, 2020
1 parent 2a2cb77 commit 27b6c1b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/support/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,6 @@ def run_byebug(*args, input: "")
# is tracked.
#
def shell_out_env(simplecov: true)
gem_home = Bundler.bundle_path.to_s || ENV["GEM_HOME"]

minitest_test = Thread.current.backtrace_locations.find do |location|
location.label.start_with?("test_")
end
Expand All @@ -259,7 +257,7 @@ def shell_out_env(simplecov: true)

base = {
"MINITEST_TEST" => "#{self.class}##{minitest_test.label}",
"GEM_HOME" => gem_home,
"GEM_HOME" => Bundler.bundle_path.to_s,
"RUBYOPT" => "-I #{byebug_dir}"
}

Expand Down

0 comments on commit 27b6c1b

Please sign in to comment.