Skip to content

Commit

Permalink
updated HTTPClientException
Browse files Browse the repository at this point in the history
Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
  • Loading branch information
nikhil2611 committed Dec 13, 2023
1 parent a51a8b9 commit 78b46ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/policyfile_services/clean_policies_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
# this will continue to print that out until they remove HTTPServerException
expected_message = <<~ERROR
Failed to delete some policy revisions:
- appserver (4444444444444444444444444444444444444444444444444444444444444444): Net::HTTPServerException 403 \"Unauthorized\"
- appserver (4444444444444444444444444444444444444444444444444444444444444444): Net::HTTPClientException 403 \"Unauthorized\"
ERROR

expect { clean_policies_service.run }.to raise_error do |error|
Expand Down

0 comments on commit 78b46ed

Please sign in to comment.