rspec_rails_4 icon indicating copy to clipboard operation
rspec_rails_4 copied to clipboard

Ch 9 p99 - Use it instead of specify

Open JunichiIto opened this issue 11 years ago • 1 comments

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.

JunichiIto avatar Feb 06 '14 19:02 JunichiIto

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

ruralocity avatar Feb 12 '14 01:02 ruralocity