Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Followups from #2065. #2105

Merged
merged 1 commit into from
Nov 1, 2015
Merged

Followups from #2065. #2105

merged 1 commit into from
Nov 1, 2015

Conversation

myronmarston
Copy link
Member

  • Better warning when an invalid value is passed
    for --fail-fast (including silencing call site
    since it will not be in user code).
  • No need to stub reporter.failures_required.
  • No need for the failures_required method at all.
  • Use fail_fast_limit_met? in more situations.
  • Remove unneeded ExampleGroup.fail_fast? method.

- Better warning when an invalid value is passed
  for `--fail-fast` (including silencing call site
  since it will not be in user code).
- No need to stub `reporter.failures_required`.
- No need for the `failures_required` method at all.
- Use `fail_fast_limit_met?` in more situations.
- Remove unneeded `ExampleGroup.fail_fast?` method.
@jackscotti
Copy link
Contributor

Thank you, great refactoring!

@myronmarston
Copy link
Member Author

Anyone want to review this? /cc @rspec/rspec

@fables-tales
Copy link
Member

LGTM 👍

myronmarston added a commit that referenced this pull request Nov 1, 2015
@myronmarston myronmarston merged commit 19761e3 into master Nov 1, 2015
@JonRowe JonRowe deleted the pr-2065-followups branch November 2, 2015 00:19
MatheusRich pushed a commit to MatheusRich/rspec-core that referenced this pull request Oct 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants