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

fixes #14155 - fix leaks between tests with random ordering #3321

Closed
wants to merge 1 commit into from

Conversation

domcleal
Copy link
Contributor

  • A test for the Rabl use_controller_name_as_json_root extension was
    leaking as the old value was only reset in setup methods. When the
    test was last in the test case, the configuration wasn't reset.
  • The with_env helper failed to unset environment variables that weren't
    set before, it now stores a nil value and resets them.
  • OS functional tests used a class-level os variable to hold default
    parameters, but was reassigned in some tests.

- A test for the Rabl use_controller_name_as_json_root extension was
  leaking as the old value was only reset in `setup` methods. When the
  test was last in the test case, the configuration wasn't reset.
- The with_env helper failed to unset environment variables that weren't
  set before, it now stores a nil value and resets them.
- OS functional tests used a class-level `os` variable to hold default
  parameters, but was reassigned in some tests.
@dLobatog
Copy link
Member

Merged as 945dd6d, thanks @domcleal!

@dLobatog dLobatog closed this Mar 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants