Here the usage of and is incorrect, as RSpec does not (and can't reasonably) support it.
Compound should use the and method, not the operator, or the &. Same for .or and |.
Related: #1984 #1983
Before submitting the PR make sure the following are checked:
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[-] Added tests.
[-] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).
Specifically:
Here the usage of
and
is incorrect, as RSpec does not (and can't reasonably) support it. Compound should use theand
method, not the operator, or the&
. Same for.or
and|
.Related: #1984 #1983
Before submitting the PR make sure the following are checked:
master
(if not - rebase it).CHANGELOG.md
if the new code introduces user-observable changes.bundle exec rake
) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).