Skip to content

Commit d86bb5c

Browse files
committed
Unset the CI env variable for sandbox commands
Rails started setting eager_load to true when the CI env var is set. rails/rails@db0ee287eed
1 parent 274aa9f commit d86bb5c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

spec/features/create_extension_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ def check_sandbox
155155

156156
def sh(*args)
157157
command = args.size == 1 ? args.first : args.shelljoin
158-
output, status = with_unbundled_env { Open3.capture2e(command) }
158+
output, status = with_unbundled_env do
159+
Open3.capture2e({ 'CI' => nil }, command)
160+
end
159161

160162
if status.success?
161163
output.to_s

0 commit comments

Comments
 (0)