diff --git a/qa/qa/specs/features/ee/browser_ui/3_create/web_ide/duo_chat_in_web_ide_spec.rb b/qa/qa/specs/features/ee/browser_ui/3_create/web_ide/duo_chat_in_web_ide_spec.rb
index 163b90ddc8057b80dbe1e4a22468f96109fe2213..d916719a2ff913262e870b18a512df4194b7edaf 100644
--- a/qa/qa/specs/features/ee/browser_ui/3_create/web_ide/duo_chat_in_web_ide_spec.rb
+++ b/qa/qa/specs/features/ee/browser_ui/3_create/web_ide/duo_chat_in_web_ide_spec.rb
@@ -23,7 +23,7 @@ module QA
                 end
 
                 expect(duo_chat).to have_response(response_with_failover),
-                  "Expected '#{expected_response}' within Duo Chat response."
+                  "Expected '#{response_with_failover}' within Duo Chat response."
               end
             end
           end