Maybe this question is a little to wordy, so I'll just ask this:
Could someone just tell me if
''''
it "shows the name text field" do
render
rendered.should have_field(:name)
end
''''
...checks for both the label and the text field? How come when I have ONE
text field in my view, all such have_field(:blahs) pass? They shouldn't! I
must be missing something...
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/joZIXagh6dUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.