From c5b1b66581ce6d4b2a4a3ddc28cacfa18026af3f Mon Sep 17 00:00:00 2001 From: Roman Samoilov <2270393+rsamoilov@users.noreply.github.com> Date: Tue, 17 Dec 2024 19:27:30 +0000 Subject: [PATCH] Fix integration test helper --- spec/support/integration_helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/support/integration_helper.rb b/spec/support/integration_helper.rb index 1ac12d5..c790c2d 100644 --- a/spec/support/integration_helper.rb +++ b/spec/support/integration_helper.rb @@ -3,7 +3,8 @@ module IntegrationHelper def launch_server(env: {}) Bundler.with_unbundled_env do - system("gem build -o rage-local.gem && gem install rage-local.gem --no-document && bundle install") + system("gem build -o rage-local.gem && gem install rage-local.gem --no-document") + system("bundle install", chdir: "spec/integration/test_app") @pid = spawn(env, "bundle exec rage s", chdir: "spec/integration/test_app") sleep(1) end