Skip to content

Commit

Permalink
Improved test [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Jun 16, 2024
1 parent d0cb041 commit b688003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/api_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_renew_cookies
def test_max_content_length
with_options(max_content_length: 1) do
post ahoy_engine.visits_url, params: {visit_token: random_token, visitor_token: random_token}
assert_response 413
assert_response :payload_too_large
assert_equal "Payload too large\n", response.body
end
end
Expand Down

0 comments on commit b688003

Please sign in to comment.