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.
You're saying “We’re testing not just for ideal results–the user selects a letter with results–but also for letters with no results.”, but this test is the really the same as the first test. There are results if you pass in 'J'.
I think you should change the letter being passed in to something like 'M' so there are no matching results. Maybe even change the expectation to something like:
expect(Contact.by_letter('K')).to be_empty
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.
You're saying “We’re testing not just for ideal results–the user selects a letter with results–but also for letters with no results.”, but this test is the really the same as the first test. There are results if you pass in 'J'.
I think you should change the letter being passed in to something like 'M' so there are no matching results. Maybe even change the expectation to something like:
expect(Contact.by_letter('K')).to be_empty
The text was updated successfully, but these errors were encountered: