You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.
In be_named matcher, eq is used but it fails with message "ArgumentError: wrong number of arguments (1 for 0)". According to the RSpec document, it should be "==".
RSpec::Matchers.define:be_nameddo |expected|
matchdo |actual|
# not work# actual.name eq expected # should beactual.name == expectedenddescriptiondo"return a full name as a string"endend
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In be_named matcher, eq is used but it fails with message "ArgumentError: wrong number of arguments (1 for 0)". According to the RSpec document, it should be "==".
The text was updated successfully, but these errors were encountered: