Project

General

Profile

Bug #18164 » segfault_spec.rb

Fryguy (Jason Frey), 09/13/2021 04:07 PM

 
require "bundler/inline"
gemfile do
source "https://rubygems.org"
gem "rspec"
end

require 'rspec/autorun'

RSpec.describe "crash" do
it "crashes" do
stub_const("ENV", {})

Bundler.with_unbundled_env do
spawn({}, "")
end
end
end
(2-2/2)