diff --git a/ee/spec/requests/api/graphql/group/security_orchestration/scan_execution_policy_spec.rb b/ee/spec/requests/api/graphql/group/security_orchestration/scan_execution_policy_spec.rb
index 8693f67ff79db035d54cad53bf3ff8d61aea3f51..e9ab6e34408f1195e98a9864c16aa62f47d54585 100644
--- a/ee/spec/requests/api/graphql/group/security_orchestration/scan_execution_policy_spec.rb
+++ b/ee/spec/requests/api/graphql/group/security_orchestration/scan_execution_policy_spec.rb
@@ -16,7 +16,7 @@
 
   context 'when policy_scope is present in the policy' do
     it 'returns the policy' do
-      expect(query_result).to match_array([expected_policy_reponse(policy)])
+      expect(query_result).to match_array([expected_policy_response(policy)])
     end
   end
 
@@ -24,7 +24,7 @@
     include_context 'with scan execution policy and policy_scope'
 
     it 'returns the policy' do
-      expect(query_result).to match_array([expected_policy_reponse(policy).merge(expected_policy_scope_response)])
+      expect(query_result).to match_array([expected_policy_response(policy).merge(expected_policy_scope_response)])
     end
   end
 end
diff --git a/ee/spec/requests/api/graphql/project/security_orchestration/scan_execution_policy_spec.rb b/ee/spec/requests/api/graphql/project/security_orchestration/scan_execution_policy_spec.rb
index c070fe652e44fd83ab200946e3e30d5fc89d8237..8c8cf6798eb76ff873b887be5cc36b73234a2152 100644
--- a/ee/spec/requests/api/graphql/project/security_orchestration/scan_execution_policy_spec.rb
+++ b/ee/spec/requests/api/graphql/project/security_orchestration/scan_execution_policy_spec.rb
@@ -17,7 +17,7 @@
 
     it 'returns the policy' do
       expect(query_result).to match_array([
-        expected_policy_reponse(policy)
+        expected_policy_response(policy)
           .merge(expected_project_source_response)
           .merge(expected_edit_path_response(project))
       ])
@@ -28,7 +28,7 @@
 
       it 'returns the policy' do
         expect(query_result).to match_array([
-          expected_policy_reponse(policy)
+          expected_policy_response(policy)
             .merge(expected_policy_scope_response)
             .merge(expected_project_source_response)
             .merge(expected_edit_path_response(project))
@@ -52,7 +52,7 @@
     end
 
     it 'returns the policy' do
-      expect(query_result).to match_array([expected_policy_reponse(policy, true)])
+      expect(query_result).to match_array([expected_policy_response(policy, true)])
     end
   end
 end
diff --git a/ee/spec/support/shared_contexts/requests/api/graphql/security_orchestration/policies_shared_contexts.rb b/ee/spec/support/shared_contexts/requests/api/graphql/security_orchestration/policies_shared_contexts.rb
index bd7a1486c6eddc5564f5abcfc54c1973284a6484..93fc0e60a47a031e1512dde50326a063913a0fe2 100644
--- a/ee/spec/support/shared_contexts/requests/api/graphql/security_orchestration/policies_shared_contexts.rb
+++ b/ee/spec/support/shared_contexts/requests/api/graphql/security_orchestration/policies_shared_contexts.rb
@@ -63,7 +63,7 @@ def expected_edit_path_response(project_or_group, policy_type = 'scan_execution_
     { "editPath" => edid_path }
   end
 
-  def expected_policy_reponse(policy, inherited = false)
+  def expected_policy_response(policy, inherited = false)
     {
       "description" => policy[:description],
       "enabled" => policy[:enabled],
@@ -80,7 +80,7 @@ def expected_policy_reponse(policy, inherited = false)
   end
 
   def expected_approval_policy_response(policy, inherited = false)
-    expected_policy_reponse(policy, inherited).merge({
+    expected_policy_response(policy, inherited).merge({
       "userApprovers" => [
         {
           "id" => "gid://gitlab/User/#{user.id}",