From 290c95f463060e183c3d0476eb9ec1bfd4f6296a Mon Sep 17 00:00:00 2001 From: Brad Price Date: Fri, 25 Sep 2020 21:29:00 -0500 Subject: [PATCH] Restore test that was previously removed The test seems to have been accidentally removed in commit 525ecca. Closes #2322 --- test/test_integration_cluster.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/test_integration_cluster.rb b/test/test_integration_cluster.rb index 646548d3de..aa1315bac9 100644 --- a/test/test_integration_cluster.rb +++ b/test/test_integration_cluster.rb @@ -245,6 +245,13 @@ def test_prune_bundler_with_multiple_workers assert reply, "embedded app" end + def test_load_path_includes_extra_deps + cli_server "-w #{WORKERS} -C test/config/prune_bundler_with_deps.rb test/rackup/hello-last-load-path.ru" + last_load_path = read_body(connect) + + assert_match(%r{gems/rdoc-[\d.]+/lib$}, last_load_path) + end + private def worker_timeout(timeout, iterations, config)