From a5c908e4407642142a2e883f1298015a6229f0b3 Mon Sep 17 00:00:00 2001 From: "Dragomir, Tudor" Date: Wed, 26 Jun 2024 23:00:48 +0300 Subject: [PATCH] Fix failing specs --- spec/system/request_system_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/request_system_spec.rb b/spec/system/request_system_spec.rb index 6ce0c32762..afc8bfa794 100644 --- a/spec/system/request_system_spec.rb +++ b/spec/system/request_system_spec.rb @@ -128,7 +128,7 @@ { item_id: item2.id, quantity: 100} ] } - let!(:request) { create(:request, request_items: request_items, organization: organization) } + let!(:request) { create(:request, request_items: request_items, organization: create(:organization, default_storage_location: 1)) } it "should show the request with a request sender if a partner user is set" do visit subject