Clear formatters between runs #435

Closed
wants to merge 3 commits into
from

Projects

None yet

2 participants

@johnbintz
Contributor

Clear the @formatters Array on a Configuration instance when resetting to clean up output when performing multiple RSpec runs within the same process. See issue #434 for more details.

@dchelimsky
Member

Thanks for the pull request. Would you please add an example to the configuration spec that specifies that the array is empty after calling reset? Once you do that I'll be glad to merge.

@johnbintz
Contributor

Spec added.

@dchelimsky dchelimsky added a commit that closed this pull request Aug 7, 2011
@johnbintz @dchelimsky johnbintz + dchelimsky clear formatters between runs
- Closes #435.
371fc52
@dchelimsky dchelimsky closed this in 371fc52 Aug 7, 2011
@dchelimsky dchelimsky added a commit that referenced this pull request Aug 7, 2011
@dchelimsky dchelimsky Clear formatters rather than creating new array object, and split exa…
…mple for config.reset

- #435
af6f886
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment