From bd2821dc06bbc96ed2a5461ddc90d63c369650de Mon Sep 17 00:00:00 2001 From: Divyam Tayal <divyamtayal18@gmail.com> Date: Fri, 4 Oct 2024 15:59:09 +0000 Subject: [PATCH] Improve merge trains request spec --- ee/spec/requests/api/graphql/merge_trains/trains_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ee/spec/requests/api/graphql/merge_trains/trains_spec.rb b/ee/spec/requests/api/graphql/merge_trains/trains_spec.rb index 7fa960331f8e4..3cda39ab4bbff 100644 --- a/ee/spec/requests/api/graphql/merge_trains/trains_spec.rb +++ b/ee/spec/requests/api/graphql/merge_trains/trains_spec.rb @@ -114,6 +114,8 @@ "The resource that you are attempting to access does not exist " \ "or you don't have permission to perform this action" ) + + expect(result).to be_nil end end @@ -163,6 +165,8 @@ "The resource that you are attempting to access does not exist " \ "or you don't have permission to perform this action" ) + + expect(result).to be_nil end end end -- GitLab