What does the 'specify' method do in ruby on rails? -


So I'm working through chapter 6 of Michael Hartl's tutorial and came to this code

  description with "invalid password" (to do this: user_for_invalid_password) {found_user.authenticate ( "invalid")} {not_not eq user_for_invalid_password} specify {expect (user_for_invalid_password) .to be_false}  

What does the last line do? Specifically, what does it specify? I did not find anything about it through Google

Specify just Nickname you < / p>

There may be more investigation

the last line simply do not or can check the false , if you supply an invalid password


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -