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

Rack::Test::Utils#build_multipart: Allow passing a third parameter to force multipart #142

Merged
merged 1 commit into from
May 2, 2017
Merged

Rack::Test::Utils#build_multipart: Allow passing a third parameter to force multipart #142

merged 1 commit into from
May 2, 2017

Conversation

koenpunt
Copy link
Contributor

@koenpunt koenpunt commented Apr 5, 2016

In some situations testing with multipart without actually adding a UploadedFile is necessary, e.g. to mimic a multipart form where no file was selected.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@dennissivia
Copy link

@perlun @junaruga looks reasonable to me. The usecase is realistic and the change fine as well.

@perlun perlun changed the title allow passing a third parameter to force multipart Rack::Test::Utils#build_multipart: Allow passing a third parameter to force multipart May 2, 2017
@perlun perlun merged commit e1b0d73 into rack:master May 2, 2017
alex-damian-negru pushed a commit to alex-damian-negru/rack-test that referenced this pull request Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants