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

Clarify one-liner syntax cannot be used with block matchers #2158

Merged
merged 1 commit into from
Jan 18, 2016
Merged

Clarify one-liner syntax cannot be used with block matchers #2158

merged 1 commit into from
Jan 18, 2016

Commits on Jan 18, 2016

  1. Clarify one-liner syntax cannot be used with block matchers

    Users sometimes try to use the one-liner syntax with block matchers,
    which can cause RSpec to behave in strange ways. This behaviour is not
    supported in RSpec because the complexity of implementing it would
    greatly outweigh the benefits.
    
    This commit just clarifies in the documentation that the one-liner
    syntax does not support block matchers.
    
    Possible fix for rspec/rspec-expectations#805
    mrageh committed Jan 18, 2016
    Configuration menu
    Copy the full SHA
    b249014 View commit details
    Browse the repository at this point in the history