Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Ch 3 Testing for Failures #47

Open
dxypher opened this issue Jan 3, 2015 · 0 comments
Open

Ch 3 Testing for Failures #47

dxypher opened this issue Jan 3, 2015 · 0 comments

Comments

@dxypher
Copy link

dxypher commented Jan 3, 2015

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant