Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information