Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Transfer-Encoding chunked test to Action Pack #50632

Merged
merged 1 commit into from Jan 9, 2024

Conversation

skipkayhil
Copy link
Member

@skipkayhil skipkayhil commented Jan 7, 2024

Motivation / Background

Ref #47336

While working on another PR, I found that removing the Transfer-Encoding conditionals did not result in any failing tests in Action Pack. This was surprising to me until I found that there was a test for this behavior in Railties. However, nothing about the test really depends on having a full Rails application or the Railties test suite.

Detail

This commit moves the test into Action Pack to simplify/speedup the test (no need to build a full app) as well as keeping the test closer to the actual behavior being tested.

While working on [another PR][1], I found that removing the
Transfer-Encoding conditionals did not result in any failing tests in
Action Pack. This was surprising to me until I found that there was a
test for this behavior in Railties. However, nothing about the test
really depends on having a full Rails application or the Railties test
suite.

This commit moves the test into Action Pack to simplify/speedup the test
(no need to build a full app) as well as keeping the test closer to the
actual behavior being tested.

[1]: 0c334b4
@skipkayhil skipkayhil force-pushed the hm-move-chunk-test-to-actionpack branch from 3932175 to a03a854 Compare January 7, 2024 19:33
@byroot byroot merged commit 2d6b02b into rails:main Jan 9, 2024
4 checks passed
@skipkayhil skipkayhil deleted the hm-move-chunk-test-to-actionpack branch January 9, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants