diff --git a/test/integration/oauth2_endpoints_test.rb b/test/integration/oauth2_endpoints_test.rb index 7a375c3b7..d7d184d1e 100644 --- a/test/integration/oauth2_endpoints_test.rb +++ b/test/integration/oauth2_endpoints_test.rb @@ -188,7 +188,8 @@ def test_redirect_response_not_running assert last_response.status == 500 - expected_error_message = "No actively running launch sequences found with a state of #{bad_state}" + expected_error_message = "No actively running launch sequences found with a 'state' parameter of '#{bad_state}'" + assert last_response.body.include? expected_error_message break end