Make spec file for env helpers more generic

This commit is contained in:
David Rodríguez 2024-09-24 12:44:17 +02:00 committed by Hiroshi SHIBATA
parent 5000138084
commit 9d4e7b376a
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -1,6 +1,6 @@
# frozen_string_literal: true
RSpec.describe "Bundler.with_env helpers" do
RSpec.describe "env helpers" do
def bundle_exec_ruby(args, options = {})
build_bundler_context options.dup
bundle "exec '#{Gem.ruby}' #{args}", options