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

Require puma/events in test helper #1418

Merged

Conversation

eileencodes
Copy link
Contributor

Moves the require for puma/events from the individual test files and
into the main test helper.

The reason for this was while I was debugging the test_puma_server.rb
tests I was getting an error for an uninitialized constant for
Puma::Event.

Moving the require from the individual files to the test help means the
puma/events will always be included instead of having to remember to
do that. It makes debugging individual tests locally easier.

Moves the require for puma/events from the individual test files and
into the main test helper.

The reason for this was while I was debugging the `test_puma_server.rb`
tests I was getting an error for an uninitialized constant for
`Puma::Event`.

Moving the require from the individual files to the test help means the
`puma/events` will always be included instead of having to remember to
do that. It makes debugging individual tests locally easier.
@nateberkopec nateberkopec merged commit 6714214 into puma:master Sep 22, 2017
@eileencodes eileencodes deleted the move-puma-events-require-for-tests branch September 23, 2017 14:36
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

2 participants