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

Ch 9 p99 - Use it instead of specify #73

Open
JunichiIto opened this issue Feb 6, 2014 · 1 comment
Open

Ch 9 p99 - Use it instead of specify #73

JunichiIto opened this issue Feb 6, 2014 · 1 comment

Comments

@JunichiIto
Copy link

In Shoulda section, there is the following code:

specify { should validate_presence_of :firstname }

But in this case, I think it { should validate_presence_of :firstname } is more readable.

@ruralocity
Copy link
Member

I agree and will address this in the next code update.

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

2 participants