rspec_rails_4 icon indicating copy to clipboard operation
rspec_rails_4 copied to clipboard

Ch.5 p52 - Use ".to be_hidden" instead

Open JunichiIto opened this issue 11 years ago • 0 comments

In ch5. p52, there is expect(@contact.reload.hidden?).to be_true, but in this case expect(@contact.reload).to be_hidden is simpler.

JunichiIto avatar Feb 24 '14 20:02 JunichiIto